summaryrefslogtreecommitdiff
path: root/roundcubemail/plugins/password/password.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-06-20 13:21:10 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-06-20 13:21:10 +0000
commitcc30aee5180c777ef8438c6ed685b333b9a85d41 (patch)
tree4cf715a5f474a72a2f589ae2112c56349398b7ed /roundcubemail/plugins/password/password.php
parenteb68f2c6c1a8eb71adf049f968074d0b267c2d42 (diff)
- Password plugin: added poppassd driver
git-svn-id: https://svn.roundcube.net/trunk@2668 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/plugins/password/password.php')
-rw-r--r--roundcubemail/plugins/password/password.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/roundcubemail/plugins/password/password.php b/roundcubemail/plugins/password/password.php
index 050053981..e97fa7d5d 100644
--- a/roundcubemail/plugins/password/password.php
+++ b/roundcubemail/plugins/password/password.php
@@ -3,7 +3,7 @@
/*
+-------------------------------------------------------------------------+
| Password Plugin for Roundcube |
- | Version 1.2 |
+ | Version 1.3 |
| |
| Copyright (C) 2009, RoundCube Dev. - Switzerland |
| |
@@ -30,6 +30,7 @@
define('PASSWORD_CRYPT_ERROR', 1);
define('PASSWORD_ERROR', 2);
+define('PASSWORD_CONNECT_ERROR', 3);
define('PASSWORD_SUCCESS', 0);
class password extends rcube_plugin
@@ -192,7 +193,9 @@ class password extends rcube_plugin
case PASSWORD_SUCCESS:
return;
case PASSWORD_CRYPT_ERROR;
- return $this->gettext('nocryptfunction');
+ return $this->gettext('crypterror');
+ case PASSWORD_CONNECT_ERROR;
+ return $this->gettext('connecterror');
case PASSWORD_ERROR:
default:
return $this->gettext('internalerror');