Hi
I'm changing over from the old 'members' addon to the new 'extended users' one.
To log out with the 'members' addon, I had a link like this:
Is there something like it for the 'extended users' addon? I've tried this:
but I just get the error message "Security tokens do not tally for executing this action. Please try again." Presumably the nonce value is missing, but I don't know how to get it.
I've also tried linking to a page whose template simply contains this:
but then I get a different error message telling me to log out (grrr! that's what I'm trying to do!) and log back in again.
What should I be doing?
Cheers,
David
I'm changing over from the old 'members' addon to the new 'extended users' one.
To log out with the 'members' addon, I had a link like this:
<a href="<cms:member_logout_link />" >Sign out</a>
Is there something like it for the 'extended users' addon? I've tried this:
<a href="<cms:show k_site_link />users/login.php?act=logout" >Sign out</a>
but I just get the error message "Security tokens do not tally for executing this action. Please try again." Presumably the nonce value is missing, but I don't know how to get it.
I've also tried linking to a page whose template simply contains this:
<cms:template title='Logout' hidden='1' />
<cms:if k_logged_in >
<cms:process_logout redirect="<cms:show k_site_link />" />
</cms:if>
but then I get a different error message telling me to log out (grrr! that's what I'm trying to do!) and log back in again.
What should I be doing?
Cheers,
David