diff options
Diffstat (limited to 'core/Controller/LostController.php')
-rw-r--r-- | core/Controller/LostController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Controller/LostController.php b/core/Controller/LostController.php index 0172d94ac95..f930725e643 100644 --- a/core/Controller/LostController.php +++ b/core/Controller/LostController.php @@ -314,7 +314,7 @@ class LostController extends Controller { $user = $this->userManager->get($input); if ($user instanceof IUser) { if (!$user->isEnabled()) { - throw new ResetPasswordException('User is disabled'); + throw new ResetPasswordException('User ' . $user . ' is disabled'); } return $user; @@ -328,6 +328,6 @@ class LostController extends Controller { return reset($users); } - throw new ResetPasswordException('Could not find user'); + throw new ResetPasswordException('Could not find user ' . $input); } } |