1

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. Supports Amazon S3 compatible storage and custom branding.

2

Re: Logout when password changes

Not implemented in roundcube webmail but squirrelmail.

3

Re: Logout when password changes

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\" />";
    }

http://www.roundcubeforum.net/old-style … anges.html

4

Re: Logout when password changes

Thanks for your sharing smile