From 41de5f5ec6f8ece721e7a8fe739cb28f08ed77a9 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 15 Nov 2012 08:18:48 +0100 Subject: Fix wrong (non-specific) error message on crypt or connection error (#1488808) --- plugins/password/package.xml | 33 ++++++++++++++++++++++++--------- plugins/password/password.php | 2 ++ 2 files changed, 26 insertions(+), 9 deletions(-) (limited to 'plugins') diff --git a/plugins/password/package.xml b/plugins/password/package.xml index 29d222409..e639a04ef 100644 --- a/plugins/password/package.xml +++ b/plugins/password/package.xml @@ -15,9 +15,9 @@ alec@alec.pl yes - 2012-03-07 + 2012-11-15 - 3.1 + 3.2 2.0 @@ -26,13 +26,7 @@ GNU GPLv2 -- Added pw_usermod driver (#1487826) -- Added option password_login_exceptions (#1487826) -- Added domainfactory driver (#1487882) -- Added DBMail driver (#1488281) -- Helper files moved to helpers/ directory from drivers/ -- Added Expect driver (#1488363) -- Added Samba password (#1488364) +- Fix wrong (non-specific) error message on crypt or connection error (#1488808) @@ -331,5 +325,26 @@ - Fixed drivers namespace issues + + 2012-03-07 + + 3.1 + 2.0 + + + stable + stable + + GNU GPLv2 + +- Added pw_usermod driver (#1487826) +- Added option password_login_exceptions (#1487826) +- Added domainfactory driver (#1487882) +- Added DBMail driver (#1488281) +- Helper files moved to helpers/ directory from drivers/ +- Added Expect driver (#1488363) +- Added Samba password (#1488364) + + diff --git a/plugins/password/password.php b/plugins/password/password.php index 58b6f8cd9..e795d115f 100644 --- a/plugins/password/password.php +++ b/plugins/password/password.php @@ -274,8 +274,10 @@ class password extends rcube_plugin return; case PASSWORD_CRYPT_ERROR; $reason = $this->gettext('crypterror'); + break; case PASSWORD_CONNECT_ERROR; $reason = $this->gettext('connecterror'); + break; case PASSWORD_ERROR: default: $reason = $this->gettext('internalerror'); -- cgit v1.2.3