Merge pull request #5865 from JonnyTischbein/issue_wrong_login_return
Fix Login return with pop-up menu form
This commit is contained in:
commit
83dca0018d
|
@ -42,7 +42,7 @@ class Login extends BaseModule
|
|||
goaway(self::getApp()->get_baseurl());
|
||||
}
|
||||
|
||||
return self::form(self::getApp()->get_baseurl(), intval(Config::get('config', 'register_policy')) !== REGISTER_CLOSED);
|
||||
return self::form($_SESSION['return_url'], intval(Config::get('config', 'register_policy')) !== REGISTER_CLOSED);
|
||||
}
|
||||
|
||||
public static function post()
|
||||
|
|
Loading…
Reference in New Issue
Block a user