Jump to content

global logout link (find out csrfKey)


Omri Amos

Recommended Posts

Posted

Hi,

I need to have a link that will allow users to logout.
If I use simply "domain.com/forums/logout/" it does not work at all because of the missing csrfKey, and shows me an ugly error message:

The CSRF protection key did not match. This may indicate a plugin or theme is out of date. Please contact technical support for more information.

Error code: 2S119/1

Expected behavior was to show a confirmation message to the user....
Anyhow, how can I get the user's csrfKey in order to make a generic logout button for him?

thanks

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...