diff options
-rw-r--r-- | core/Controller/LostController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Controller/LostController.php b/core/Controller/LostController.php index 044535c345b..51ab8d85a6e 100644 --- a/core/Controller/LostController.php +++ b/core/Controller/LostController.php @@ -200,6 +200,8 @@ class LostController extends Controller { return new JSONResponse($this->error($this->l10n->t('Password reset is disabled'))); } + $user = trim($user); + \OCP\Util::emitHook( '\OCA\Files_Sharing\API\Server2Server', 'preLoginNameUsedAsUserName', |