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
parent
commit
0f728b4cd1
No account linked to committer's email address
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      apps/encryption/lib/KeyManager.php

+ 7
- 0
apps/encryption/lib/KeyManager.php 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) {

Loading…
Cancel
Save