mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-02-26 00:21:28 +01:00
Resetting a user's password clears the user's site access [grav#2528]
This commit is contained in:
@@ -168,9 +168,6 @@ class AdminController extends AdminBaseController
|
||||
$user->undef('hashed_password');
|
||||
$user->undef('reset');
|
||||
$user->set('password', $password);
|
||||
|
||||
$user->validate();
|
||||
$user->filter();
|
||||
$user->save();
|
||||
|
||||
$this->admin->setMessage($this->admin::translate('PLUGIN_ADMIN.RESET_PASSWORD_RESET'), 'info');
|
||||
|
||||
Reference in New Issue
Block a user