mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Redirect to REQUEST_URI after logging in.
This closes FS#13017 Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
3c1b84bc7e
commit
2f8b8aac73
1 changed files with 3 additions and 2 deletions
|
@ -10,8 +10,9 @@ else {
|
|||
if ($login_error) {
|
||||
print "<span class='error'>" . $login_error . "</span><br />\n";
|
||||
}
|
||||
'?' . implode('&', $_GET);
|
||||
?>
|
||||
<form method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>">
|
||||
<form method="post" action="<?php echo $_SERVER['REQUEST_URI'] ?>">
|
||||
<div>
|
||||
<?php print __('Username') . ':'; ?>
|
||||
<input type="text" name="user" size="30" maxlength="<?php print USERNAME_MAX_LEN; ?>" value="<?php
|
||||
|
|
Loading…
Add table
Reference in a new issue