If you're new here and like what you read, please subscribe to my blog feed or sign up for free email updates. Thanks for visiting!
Enter your email address to subscribe:

First of all, you must have AuthUser enabled.

Then, in Site.PageActions, add the following:


(:if authid:)
* %item rel=nofollow class=logout accesskey='$[ak_logout]'% [[{*$FullName}?action=logout | $[logout] ]]
(:ifend:)
(:if ! authid:)
* %item rel=nofollow class=login accesskey='$[ak_login]'% [[{*$FullName}?action=login | $[login] ]]
(:ifend:)
Now when the user is not authenticated (not logged in), he will see a "login" tab; if he is logged in, he will see "logout".

This post has no comment. Add your own!