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
This commit is contained in:
parent
25e6026fa6
commit
0f728b4cd1
1 changed files with 7 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue