diff options
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php index 74c1e8c0f42..f0c54640b17 100644 --- a/lib/base.php +++ b/lib/base.php @@ -967,6 +967,10 @@ class OC { } } catch (\OC\User\LoginException $e) { $messages[] = $e->getMessage(); + } catch (\Exception $ex) { + \OCP\Util::logException('handleLogin', $ex); + // do not disclose information. show generic error + $error[] = 'internalexception'; } OC_Util::displayLoginPage(array_unique($error), $messages); |