diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-12-17 13:39:03 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-12-17 13:39:03 -0500 |
commit | ddeb89e2c6622f197d1b7738042182b34d5054ed (patch) | |
tree | e7c473b9753d8ce309ec73f40c9eef62b2b9cc81 /app/Controller | |
parent | aafa1de4d56b0791c4d367aa530587082c833faf (diff) |
Add cache decorator for UserModel
Diffstat (limited to 'app/Controller')
-rw-r--r-- | app/Controller/PasswordResetController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/PasswordResetController.php b/app/Controller/PasswordResetController.php index a1780ed9..6189f946 100644 --- a/app/Controller/PasswordResetController.php +++ b/app/Controller/PasswordResetController.php @@ -109,7 +109,7 @@ class PasswordResetController extends BaseController $token = $this->passwordResetModel->create($username); if ($token !== false) { - $user = $this->userModel->getByUsername($username); + $user = $this->userCacheDecorator->getByUsername($username); $this->emailClient->send( $user['email'], |