diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-04-28 06:49:04 -0700 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-04-28 06:49:04 -0700 |
commit | f41ccebadd7eb2dadada012606464819fe457d62 (patch) | |
tree | 173317e962d12f5e4e697761b555092f63b345e6 /plugins/password/password.php | |
parent | 416cc7106ad571e9ed42874ceee7dfec549be2bb (diff) | |
parent | 859a7a117acd8c7830a53a8c528790612e1638c4 (diff) |
Merge pull request #63 from Steffen185/patch-1
Save new password even if it has not changed (optional)
Diffstat (limited to 'plugins/password/password.php')
-rw-r--r-- | plugins/password/password.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/password/password.php b/plugins/password/password.php index 39020a0bf..e16b4d0b9 100644 --- a/plugins/password/password.php +++ b/plugins/password/password.php @@ -147,7 +147,7 @@ class password extends rcube_plugin $rcmail->output->command('display_message', $this->gettext('passwordweak'), 'error'); } // password is the same as the old one, do nothing, return success - else if ($sespwd == $newpwd) { + else if ($sespwd == $newpwd && !$rcmail->config->get('password_force_save')) { $rcmail->output->command('display_message', $this->gettext('successfullysaved'), 'confirmation'); } // try to save the password |