Fix wrong (non-specific) error message on crypt or connection error (#1488808)

pull/45/merge
Aleksander Machniak 12 years ago
parent 0f6e9f0bf6
commit 3067458acb

@ -15,9 +15,9 @@
<email>alec@alec.pl</email> <email>alec@alec.pl</email>
<active>yes</active> <active>yes</active>
</lead> </lead>
<date>2012-03-07</date> <date>2012-11-15</date>
<version> <version>
<release>3.1</release> <release>3.2</release>
<api>2.0</api> <api>2.0</api>
</version> </version>
<stability> <stability>
@ -26,13 +26,7 @@
</stability> </stability>
<license uri="http://www.gnu.org/licenses/gpl-2.0.html">GNU GPLv2</license> <license uri="http://www.gnu.org/licenses/gpl-2.0.html">GNU GPLv2</license>
<notes> <notes>
- Added pw_usermod driver (#1487826) - Fix wrong (non-specific) error message on crypt or connection error (#1488808)
- 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)
</notes> </notes>
<contents> <contents>
<dir baseinstalldir="/" name="/"> <dir baseinstalldir="/" name="/">
@ -331,5 +325,26 @@
- Fixed drivers namespace issues - Fixed drivers namespace issues
</notes> </notes>
</release> </release>
<release>
<date>2012-03-07</date>
<version>
<release>3.1</release>
<api>2.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.gnu.org/licenses/gpl-2.0.html">GNU GPLv2</license>
<notes>
- 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)
</notes>
</release>
</changelog> </changelog>
</package> </package>

@ -274,8 +274,10 @@ class password extends rcube_plugin
return; return;
case PASSWORD_CRYPT_ERROR; case PASSWORD_CRYPT_ERROR;
$reason = $this->gettext('crypterror'); $reason = $this->gettext('crypterror');
break;
case PASSWORD_CONNECT_ERROR; case PASSWORD_CONNECT_ERROR;
$reason = $this->gettext('connecterror'); $reason = $this->gettext('connecterror');
break;
case PASSWORD_ERROR: case PASSWORD_ERROR:
default: default:
$reason = $this->gettext('internalerror'); $reason = $this->gettext('internalerror');

Loading…
Cancel
Save