Fixing the change password for Roundcube to work with Ubuntu

This commit is contained in:
TJ 2018-06-13 19:58:26 +03:00
commit 6b2fafccb2
5 changed files with 17 additions and 10 deletions

View file

@ -6,8 +6,9 @@
* @version 1.0
* @author Serghey Rodin <skid@vestacp.com>
*/
function password_save($curpass, $passwd)
class rcube_vesta_password
{
function save($curpass, $passwd)
{
$rcmail = rcmail::get_instance();
$vesta_host = $rcmail->config->get('password_vesta_host');
@ -69,3 +70,4 @@
}
}
}

View file

@ -6,8 +6,8 @@
* @version 1.0
* @author Serghey Rodin <skid@vestacp.com>
*/
function password_save($curpass, $passwd)
class rcube_vesta_password {
function save($curpass, $passwd)
{
$rcmail = rcmail::get_instance();
$vesta_host = $rcmail->config->get('password_vesta_host');
@ -69,3 +69,4 @@
}
}
}

View file

@ -6,8 +6,9 @@
* @version 1.0
* @author Serghey Rodin <skid@vestacp.com>
*/
function password_save($curpass, $passwd)
class rcube_vesta_password
{
function save($curpass, $passwd)
{
$rcmail = rcmail::get_instance();
$vesta_host = $rcmail->config->get('password_vesta_host');
@ -69,3 +70,4 @@
}
}
}

View file

@ -6,8 +6,8 @@
* @version 1.0
* @author Serghey Rodin <skid@vestacp.com>
*/
function password_save($curpass, $passwd)
class rcube_vesta_password {
function save($curpass, $passwd)
{
$rcmail = rcmail::get_instance();
$vesta_host = $rcmail->config->get('password_vesta_host');
@ -69,3 +69,4 @@
}
}
}

View file

@ -6,8 +6,8 @@
* @version 1.0
* @author Serghey Rodin <skid@vestacp.com>
*/
function password_save($curpass, $passwd)
class rcube_vesta_password {
function save($curpass, $passwd)
{
$rcmail = rcmail::get_instance();
$vesta_host = $rcmail->config->get('password_vesta_host');
@ -69,3 +69,4 @@
}
}
}