mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 18:35:57 +00:00
fix a bunch of bookmarklets login forms not leading back
This commit is contained in:
@@ -834,9 +834,12 @@ class Handler_Public extends Handler {
|
||||
}
|
||||
}
|
||||
|
||||
static function _render_login_form() {
|
||||
static function _render_login_form(string $return_to = "") {
|
||||
header('Cache-Control: public');
|
||||
|
||||
if ($return_to)
|
||||
$_REQUEST['return'] = $return_to;
|
||||
|
||||
require_once "login_form.php";
|
||||
exit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user