mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Fixed undefined variable $backURL that should've been $_REQUEST['BackURL']
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@73292 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
4dbe5c60ee
commit
c0b02a2828
@ -107,7 +107,7 @@ class MemberLoginForm extends LoginForm {
|
|||||||
&& Director::is_site_url($_REQUEST['BackURL'])
|
&& Director::is_site_url($_REQUEST['BackURL'])
|
||||||
) {
|
) {
|
||||||
Session::clear("BackURL");
|
Session::clear("BackURL");
|
||||||
Director::redirect($backURL);
|
Director::redirect($_REQUEST['BackURL']);
|
||||||
} else {
|
} else {
|
||||||
Session::set("Security.Message.message",
|
Session::set("Security.Message.message",
|
||||||
sprintf(_t('Member.WELCOMEBACK', "Welcome Back, %s"), $firstname)
|
sprintf(_t('Member.WELCOMEBACK', "Welcome Back, %s"), $firstname)
|
||||||
|
Loading…
Reference in New Issue
Block a user