Merge remote-tracking branch 'origin/develop' into 2.0
# Conflicts: # app/controllers/admin/AssetsController.php
This commit is contained in:
@@ -321,6 +321,11 @@ class UsersController extends AdminController
|
||||
$user->password = $password;
|
||||
}
|
||||
|
||||
// Do we want to update the user email?
|
||||
if (!Config::get('app.lock_passwords')) {
|
||||
$user->email = Input::get('email');
|
||||
}
|
||||
|
||||
// Get the current user groups
|
||||
$userGroups = $user->groups()->lists('group_id', 'group_id');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user