mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Fix logging in from package page
Patch by: BaSh <bash.lnx@gmail.com> Adds query string to url when logging in Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
This commit is contained in:
parent
cc1f323d32
commit
435e2c6c1a
1 changed files with 1 additions and 1 deletions
|
@ -646,7 +646,7 @@ function try_login() {
|
||||||
|
|
||||||
setcookie("AURSID", $new_sid, 0, "/");
|
setcookie("AURSID", $new_sid, 0, "/");
|
||||||
# header("Location: /index.php");
|
# header("Location: /index.php");
|
||||||
header("Location: " . $_SERVER['PHP_SELF']);
|
header("Location: " . $_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING']);
|
||||||
$login_error = "";
|
$login_error = "";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue