Preserve current url when logging in. Pass the current url as part of the url to the login form
so we can return the user to the starting url after login.
This commit is contained in:
committed by
WineHQ
parent
9d35df1b54
commit
c5e1b08b5d
@@ -39,7 +39,7 @@ if(!$_SESSION['current']->isLoggedIn())
|
||||
|
||||
$str_benefits
|
||||
|
||||
<p>So what are you waiting for, [<a href=\"account.php?sCmd=login\">log in</a>]
|
||||
<p>So what are you waiting for, [<a href=\"".login_url()."\">log in</a>]
|
||||
or [<a href=\"account.php?sCmd=new\">register</a>] now! Your help in
|
||||
stomping out Wine issues will be greatly appreciated.</p>";
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user