summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2022-08-22 11:24:44 +0200
committerGitHub <noreply@github.com>2022-08-22 11:24:44 +0200
commitfd645d48028335f65c567e708b80942f995f78d9 (patch)
treebcf01e7c8a48ac5ff10013799c0492203c69cdd7 /core
parentb48a87e6e0c6f1e7bb447ea44a7be380fde96c99 (diff)
parentb03aedf1283ad8dd3d69f91c90b926b3d5420cd4 (diff)
downloadnextcloud-server-fd645d48028335f65c567e708b80942f995f78d9.tar.gz
nextcloud-server-fd645d48028335f65c567e708b80942f995f78d9.zip
Merge pull request #33623 from NoSleep82/master
Update LostController.php
Diffstat (limited to 'core')
-rw-r--r--core/Controller/LostController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Controller/LostController.php b/core/Controller/LostController.php
index 0172d94ac95..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 is disabled');
+ throw new ResetPasswordException('User ' . $user->getUID() . ' 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);
}
}