kopia lustrzana https://github.com/friendica/friendica
Give Login Form previous URL to return to. SESSION var is empty if invalid page. empty args is catched by function
rodzic
b73dea95a4
commit
2db2b79bfa
|
@ -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()
|
||||
|
|
Ładowanie…
Reference in New Issue