Resetting a user's password clears the user's site access [grav#2528]

This commit is contained in:
Matias Griese
2019-06-20 22:13:04 +03:00
parent 6e462efc5e
commit f2a8194572
2 changed files with 1 additions and 3 deletions

View File

@@ -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');