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
|
|
@ -92,6 +92,12 @@ our $I18N = {
|
|||
message => q|Click here to log out.|,
|
||||
lastUpdated => 1031514049,
|
||||
},
|
||||
|
||||
'helpvar form.returnUrl' => {
|
||||
message => 'When this hidden form element is present, the user will be
|
||||
returned to the current page after they login',
|
||||
lastUpdated => 0,
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue