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:
Björn Schießle 2016-05-25 11:39:44 +02:00
parent 25e6026fa6
commit 0f728b4cd1
No known key found for this signature in database
GPG Key ID: 2378A753E2BF04F6
1 changed files with 7 additions and 0 deletions

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) {