mfreiholz / persistent_login

Provides a "Keep me logged in" aka "Remember Me" functionality for Roundcube.
78 stars 49 forks source link

rc forgets special folders with persistent_login #66

Open reven opened 2 years ago

reven commented 2 years ago

I'm using roundcube in front of a dovecot server with mysql user management. When persistent_login is enabled, after a variable amount of time (difficult to reproduce), roundcube forgets that the Archive folder is an archive folder and just shows the regular folder icon in the navigation on the left, as well as no longer displaying the "Archive" function on top of the message.

After logging out and back in again, the expected behavior is restored.

I brought up this issue in the roundcube github ( https://github.com/roundcube/roundcubemail/issues/8512) and was asked to test the persistent_login plugin. I've tested this extensively after disabling persistent_login and it has never happened. Obviously session times out without the plugin and a new login is required, so there is still a chance this is related to a roundcube issue that is obscured by the timeout, but it seems to point at the plugin.

I'd be glad to provide more info or perform any tests to help troubleshoot this, but I'm a bit lost how to troubleshoot this further by myself.

navossoc commented 2 years ago

I have a similar issue, but with the timezone.

The issue happens when you use persistent login (remember me) feature.

Just open a new tab, make login with remember me activated... Close your whole browser (so you will loss your session).

Open the webmail again, you will be logged, but the timezone won't be set.

The timezone is detected at the login form and send with the credentials. I figured this out today, now I need to see how to fix it.

PS: The bug happens only if you didn't save the user timezone on db (user.preferences).