Topic: Logout when password changes
I need to logout after user change his password, so he can re-login with the new one.
Thanks,
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team.You are not logged in. Please login or register.
iRedMail → iRedMail Support → Logout when password changes
I need to logout after user change his password, so he can re-login with the new one.
Thanks,
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team.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
iRedMail → iRedMail Support → Logout when password changes
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 2 official extensions. Copyright © 2003–2010 PunBB.
Generated in 0.007 seconds (51% PHP - 49% DB) with 8 queries