Browse Source
don't fail on "bad signature" during login. Most likely this happens because
the login password changed at the user back-end (e.g ldap). Such failures will
be handled after login correctly by allowing the user to adjust the passwords
tags/v9.1.0beta1
Björn Schießle
8 years ago
No account linked to committer's email address
|
|
@@ -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) { |