session error still sets task to "mail"
|Reported by:||paullckby||Owned by:|
When there is a session error, the task still gets set to "mail" or whatever the task was when the session expired. This causes plugins to be executed as though the user were still logged in.
To reproduce: log in. Delete all Roundcube cookies. Refresh the page and look at the $_SESSION.