Topic: Logout when password changes
I need to logout after user change his password, so he can re-login with the new one.
Thanks,
----
Urgent issue? Pay iRedMail developer to solve it remotely at $29.Works on Red Hat Enterprise Linux, CentOS, Scientific Linux, Debian, Ubuntu, openSUSE, Gentoo, FreeBSD, OpenBSD
You are not logged in. Please login or register.
I need to logout after user change his password, so he can re-login with the new one.
Thanks,
----
Urgent issue? Pay iRedMail developer to solve it remotely at $29.Not implemented in roundcube webmail but squirrelmail.
I found it.
I modified the suggested line to:
PHP Code:
echo "<meta http-equiv=\"refresh\" content=\"0;url=https://mydomain/roundcubemail/?_task=logout\" />";
Then I saved it in the save_changepasswd.inc file, in the following position:
PHP Code:
if ($updated) {
// $_SESSION['password'] = $RCMAIL->encrypt_passwd($new_pw);
$OUTPUT->show_message('passwordchanged', 'confirmation');
echo "<meta http-equiv=\"refresh\" content=\"0;url=https://mydomain/roundcubemail/?_task=logout\" />";
}
Thanks for your sharing ![]()
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.
Generated in 0.058 seconds (85% PHP - 15% DB) with 11 queries