summaryrefslogtreecommitdiffstats
path: root/core/Controller/LostController.php
diff options
context:
space:
mode:
authorNoSleep82 <52562874+NoSleep82@users.noreply.github.com>2022-08-21 13:16:23 +0200
committerGitHub <noreply@github.com>2022-08-21 13:16:23 +0200
commitb03aedf1283ad8dd3d69f91c90b926b3d5420cd4 (patch)
tree9f111a959c3a8bca0e6be057bf0608cdce3e496d /core/Controller/LostController.php
parent61548c520be2bfdd127f2fd20a02dfdc5845dcf7 (diff)
downloadnextcloud-server-b03aedf1283ad8dd3d69f91c90b926b3d5420cd4.tar.gz
nextcloud-server-b03aedf1283ad8dd3d69f91c90b926b3d5420cd4.zip
Update core/Controller/LostController.php
Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com> Signed-off-by: NoSleep82 <52562874+NoSleep82@users.noreply.github.com>
Diffstat (limited to 'core/Controller/LostController.php')
-rw-r--r--core/Controller/LostController.php2
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;