mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 06:08:46 -04:00
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>
This commit is contained in:
parent
61548c520b
commit
b03aedf128
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue