summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-04-10 15:49:45 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-10 15:49:45 +0200
commit7b2d53603c4410ec9d66826caf3c49c53644dffc (patch)
tree9e7136d4a3c793de5bf6d3d76299b2966de3d098 /lib/base.php
parent20a1a110de2e4bf84f00a3bb65e266e24d0c2e28 (diff)
parent25dd4ec767080341bf87ed957cbfc86a0b5d78aa (diff)
downloadnextcloud-server-7b2d53603c4410ec9d66826caf3c49c53644dffc.tar.gz
nextcloud-server-7b2d53603c4410ec9d66826caf3c49c53644dffc.zip
Merge pull request #15489 from owncloud/dont_hide_exceptions_master
Dont hide exceptions master
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php4
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);