[pmwiki-users] Redirect after login, $LoginRedirectFmt?
Petko Yotov
5ko at 5ko.fr
Thu Dec 13 05:11:31 CST 2012
Oliver Betz writes:
> how can I redirect to a specific page after a successful login?
If you have a login link like [[{*$FullName}?action=login]] you can just set
the desired pagename instead of the current one, for example
[[Admin.Dashboard?action=login|login]].
Alternatiely, if your admin page is read-protected and only logged-in users
can see it, you don't even need ?action=login. For example, on most wikis,
if a user clicks on a link like [[Site admin/]] pmwiki will display the
login form (the SiteAdmin/ group is locked and requires admin privileges).
PmWiki usually doesn't need people to log in with the ?action=login. Only
when someone requests an action like "edit" which requires authentication,
the login form will be presented to the user and if the authentication is
successful, he will be redirected to the requested action.
Petko
More information about the pmwiki-users
mailing list