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:19:29 +0100
commit41de5f5ec6f8ece721e7a8fe739cb28f08ed77a9 (patch)
treeaa585f78929218f77aa2dcf5683f08d8c46b99ee /plugins/password/password.php
parente13ad37d8984b8b7a1a0ab96e4f2a561ef459265 (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');