Logging out from mobile version of Roundcube results in the error: unable to logout on mobile version: For your protection, access to this resource is secured against CSRF

Created:

2017-02-14 12:51:17 UTC

Modified:

2017-08-16 16:36:34 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Logging out from mobile version of Roundcube results in the error: unable to logout on mobile version: For your protection, access to this resource is secured against CSRF

Applicable to:

  • Plesk for Linux
  • Plesk Onyx for Linux

Symptoms

Attempting to log out from mobile version of Roundcube results in error:

Request Check Failed For your protection, access to this resource is secured against CSRF. If you see this, you probably didn't log out before leaving the web application. Human interaction is now required to continue. Please contact your server-administrator.

Cause

This is Plesk bug #PPP-28029 which will bee fixed in one of the future updates.

Resolution

As a workaround, modify /usr/share/psa-roundcube/skins/litecube_mobile/includes/taskbar.html on the line 11:

before:

<span class='item buttonLogout'><a href="?_task=logout" class="buttonLogout"><span><roundcube:label name="logout" /></span></a></span>

after:

<span class='item buttonLogout'><a href="./?_task=logout" onclick="return rcmail.command('switch-task','logout',this,event)" class="buttonLogout"><span><roundcube:label name="logout" /></span></a></span>

Have more questions? Submit a request
Please sign in to leave a comment.