diff options
Diffstat (limited to 'core/Controller/LostController.php')
-rw-r--r-- | core/Controller/LostController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/LostController.php b/core/Controller/LostController.php index f930725e643..e5dc5218cb1 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 ' . $user . ' is disabled'); + throw new ResetPasswordException('User ' . $user->getUID() . ' is disabled'); } return $user; |