Omri Amos Posted April 19, 2016 Posted April 19, 2016 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
Adriano Faria Posted April 19, 2016 Posted April 19, 2016 Example: <a href='{url="app=core&module=system&controller=login&do=logout" csrf="true" seoTemplate="logout"}'>{lang="sign_out"}</a>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.