summaryrefslogtreecommitdiff
path: root/plugins/password/password.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-11-15 08:18:48 +0100
committerAleksander Machniak <alec@alec.pl>2012-11-15 08:18:48 +0100
commit3067458acbff330d144bddd779492d9b247b04b4 (patch)
tree18bb17a031669da63d4424cdeb748609df67d503 /plugins/password/password.php
parent0f6e9f0bf692ae87be460eb3553e3f55349d725b (diff)
Fix wrong (non-specific) error message on crypt or connection error (#1488808)
Diffstat (limited to 'plugins/password/password.php')
-rw-r--r--plugins/password/password.php2
1 files changed, 2 insertions, 0 deletions
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');