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
|
@ -360,6 +360,13 @@ class KeyManager {
|
||||||
return false;
|
return false;
|
||||||
} catch (DecryptionFailedException $e) {
|
} catch (DecryptionFailedException $e) {
|
||||||
return false;
|
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) {
|
if ($privateKey) {
|
||||||
|
|
Loading…
Reference in New Issue