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:
parent
04da356822
commit
1f10f07338
8 changed files with 163 additions and 9 deletions
|
|
@ -243,6 +243,10 @@ our $HELP = {
|
|||
name => 'username',
|
||||
description => 'helpvar commentLoop username',
|
||||
},
|
||||
{
|
||||
name => 'url_deleteComment',
|
||||
description => 'helpvar commentLoop url_deleteComment',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ our $HELP = {
|
|||
},
|
||||
{ 'name' => 'account.create.url' },
|
||||
{ 'name' => 'account.create.label' },
|
||||
{ 'name' => 'helpvar form.returnUrl' },
|
||||
{ 'required' => 1,
|
||||
'name' => 'form.footer'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue