Merge pull request #24833 from owncloud/fix_24832

don't fail on "bad signature" during login
This commit is contained in:
Vincent Petry 2016-05-25 14:52:45 +02:00
commit c5ade48c04

View file

@ -360,6 +360,13 @@ class KeyManager {
return false;
} catch (DecryptionFailedException $e) {
return false;
} catch (\Exception $e) {
$this->log->warning(
'Could not decrypt the private key from user "' . $uid . '"" during login. ' .
'Assume password change on the user back-end. Error message: '
. $e->getMessage()
);
return false;
}
if ($privateKey) {