Merge pull request #1617 from trajche/Roundcube-ubuntu-change-password

Fixing the change password for Roundcube to work with Ubuntu
This commit is contained in:
dpeca 2018-06-13 21:04:17 +02:00 committed by GitHub
commit 4922062af6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 @@
}
}
}