[pmwiki-users] (UserAuth2) Problem with $UA2AfterLogoutRedirectTo

Petko Yotov 5ko at 5ko.fr
Mon Feb 22 07:28:45 CST 2010

On Monday 22 February 2010 11:47:01, Harald C. wrote :
> May I repeat my question already asked on Feb. 3rd as I got no reply so
>  far?

Yes, if you asked a question and nobody replied, please ask it again. The most 
frequent reason is that we didn't notice the message or forgot it, or didn't 
have the time to reply. If the answer is not in the wiki, it should be added 

It could also be that nobody knew the answer of your question.

In this last case, probably the author and maintainer of the recipe is not a 
member of the mailing list, or is busy. It may be better/faster to try to 
reach her/him via e-mail (if available), or to leave a message on the recipe 
or on its talk page.

> When looging out, the page to retun to can be set via
> $UA2AfterLogoutRedirectTo in the local/config.php.
> If I set
> 	$UA2AfterLogoutRedirectTo = 'SomeGroup.SomePage';
> I return to /SomeGroup/SomePage. That works fine.
> But how can I achieve to always return to that (main) page where I
> clicked Logout?
> (The wiki commands are not in the main page but in a site-wide header
> "page".)

It might work with this line (untested) :

  $UA2AfterLogoutRedirectTo = $pagename;


More information about the pmwiki-users mailing list