From b343adf3cb316b15d6751dc723f8e9348a3e4502 Mon Sep 17 00:00:00 2001 From: Steffen185 Date: Tue, 2 Apr 2013 09:41:29 +0300 Subject: [PATCH] Use new config option "password_force_save" --- plugins/password/password.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)