Skip to content

Commit a5b2dbf

Browse files
committed
Merge remote-tracking branch 'origin/develop'
2 parents abb970f + e455b2a commit a5b2dbf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/controllers/admin/UsersController.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,11 @@ public function postEdit($id = null)
309309
$user->password = $password;
310310
}
311311

312+
// Do we want to update the user email?
313+
if (!Config::get('app.lock_passwords')) {
314+
$user->email = Input::get('email');
315+
}
316+
312317
// Get the current user groups
313318
$userGroups = $user->groups()->lists('group_id', 'group_id');
314319

0 commit comments

Comments
 (0)