summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-05-18 10:23:59 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-05-18 10:23:59 +0000
commit2b6334f15d435346a8090f04a6022cabbf63fd4e (patch)
tree793100e0bc4aabfbeda0e2194a75de4e88e6133b
parent99aeef373ce9d6621149fb731b9f3ff557a5500b (diff)
Made encrypt_passwd method public as requested in #1485071
git-svn-id: https://svn.roundcube.net/trunk@1401 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/include/rcmail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcmail.php b/roundcubemail/program/include/rcmail.php
index 5bde8d465..04928b2e3 100644
--- a/roundcubemail/program/include/rcmail.php
+++ b/roundcubemail/program/include/rcmail.php
@@ -758,7 +758,7 @@ class rcmail
* @param string Password to encrypt
* @return string Encryprted string
*/
- private function encrypt_passwd($pass)
+ public function encrypt_passwd($pass)
{
if (function_exists('mcrypt_module_open') && ($td = mcrypt_module_open(MCRYPT_TripleDES, "", MCRYPT_MODE_ECB, ""))) {
$iv = mcrypt_create_iv(mcrypt_enc_get_iv_size($td), MCRYPT_RAND);