diff --git a/app/controllers/admin/UsersController.php b/app/controllers/admin/UsersController.php index 1144f365d8..2349724918 100755 --- a/app/controllers/admin/UsersController.php +++ b/app/controllers/admin/UsersController.php @@ -643,6 +643,7 @@ class UsersController extends AdminController 'email' => $row[3], 'password' => $pass, 'activated' => $activated, + 'location_id' => $row[4], 'permissions' => '{"user":1}', 'notes' => 'Imported user' ); diff --git a/app/views/backend/users/import.blade.php b/app/views/backend/users/import.blade.php index 639a0d8054..21ec07758c 100644 --- a/app/views/backend/users/import.blade.php +++ b/app/views/backend/users/import.blade.php @@ -38,7 +38,7 @@ Create a User :: @endif
- Upload a CSV file with one or more users. Passwords will be auto-generated. The CSV should have the first fields as: firstName,lastName,username,email. Any additional fields to the right of those fields will be ignored. Email is optional, however users will not be able to recover their passwords or receive EULAs if you do not provide an email address. + Upload a CSV file with one or more users. Passwords will be auto-generated. The CSV should have the first fields as: firstName,lastName,username,email, location_id. Any additional fields to the right of those fields will be ignored. Email is optional, however users will not be able to recover their passwords or receive EULAs if you do not provide an email address.