alexandregz / twofactor_gauthenticator

This RoundCube plugin adds the 2-step verification(OTP) to the login proccess
MIT License
221 stars 78 forks source link

CSRF-problem #128

Open alexkopit opened 4 years ago

alexkopit commented 4 years ago

When logging in with activated twofactors-plugin, I regularly get CSRF-errors: The Inbox is shown without errors, but when clicking on a mail or for example changing to calendar I get CSRF-errors irregularly. The url seems to be different when logging in using the plugin, because the session id (the string before "/?_task" in the url) is missing when roundcube switches to the inbox after login. Sometimes (after getting the CSRF-error and clicking on continue session) the url is updated and the session id added. After that happens, the error does not occur anymore. When logging in without the twofactors-plugin, roundcube switches to the inbox and the url does include the session id from the beginning. Is there anything I can do to solve this problem? Thanks in advance for your help! Alex