diff options
author | Steffen185 <steffen.weber@gmail.com> | 2013-04-02 09:41:29 +0300 |
---|---|---|
committer | Steffen185 <steffen.weber@gmail.com> | 2013-04-02 09:41:29 +0300 |
commit | b343adf3cb316b15d6751dc723f8e9348a3e4502 (patch) | |
tree | 35e18cf148d48944a870a2d343e6b5d6d1e6c8e8 /plugins | |
parent | 6db9f84737b399aba9f80d0a7f220bad72cc56ef (diff) |
Use new config option "password_force_save"
Diffstat (limited to 'plugins')
-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 ec5bac3a9..43cab7f5e 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'); } // try to save the password - else if (!($res = $this->_save($curpwd, $newpwd))) { + else if ($sespwd == $newpwd && !$rcmail->config->get('password_force_save')) { $rcmail->output->command('display_message', $this->gettext('successfullysaved'), 'confirmation'); // allow additional actions after password change (e.g. reset some backends) |