fixing bug that causes user password to be reset after edit
parent
ce64ec6bc3
commit
416eff8875
|
@ -213,8 +213,8 @@ class UserController extends AbstractController {
|
|||
}
|
||||
if(!empty($clean['password'])) {
|
||||
$password = $clean['password'];
|
||||
$clean['password'] = '';
|
||||
}
|
||||
unset($clean['password']);
|
||||
unset($clean['password_repeat']);
|
||||
|
||||
if($user_id > 0) {
|
||||
|
|
Loading…
Reference in New Issue