add: Auth modules now accept a "returnUrl" form parameter when logging in or creating a new account. User will be redirected to the value in "returnUrl" after login / create account is complete.

add: L_LoginBox macro has a form.returnUrl template var that returns a user to the exact page they logged in from
This commit is contained in:
Doug Bell 2008-02-09 05:09:33 +00:00
parent 04da356822
commit 1f10f07338
8 changed files with 163 additions and 9 deletions

View file

@ -243,6 +243,10 @@ our $HELP = {
name => 'username',
description => 'helpvar commentLoop username',
},
{
name => 'url_deleteComment',
description => 'helpvar commentLoop url_deleteComment',
},
],
},
{

View file

@ -34,6 +34,7 @@ our $HELP = {
},
{ 'name' => 'account.create.url' },
{ 'name' => 'account.create.label' },
{ 'name' => 'helpvar form.returnUrl' },
{ 'required' => 1,
'name' => 'form.footer'
}