diff --git a/CHANGELOG.md b/CHANGELOG.md index 65093559..054c02ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ 1. [](#bugfix) * Fixed issue with charts in dashboard where label would cut off [#1700](https://github.com/getgrav/grav-plugin-admin/issues/1700) + * Resetting a user's password clears the user's site access [grav#2528](https://github.com/getgrav/grav/issues/2528) # v1.9.6 ## 06/15/2019 diff --git a/classes/admincontroller.php b/classes/admincontroller.php index a55bdc61..a50cfaa5 100644 --- a/classes/admincontroller.php +++ b/classes/admincontroller.php @@ -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');