Commit 2f8b8aac authored by Loui Chang's avatar Loui Chang
Browse files

Redirect to REQUEST_URI after logging in.



This closes FS#13017

Signed-off-by: default avatarLoui Chang <louipc.ist@gmail.com>
parent 3c1b84bc
...@@ -9,9 +9,10 @@ if (isset($_COOKIE["AURSID"])) { ...@@ -9,9 +9,10 @@ if (isset($_COOKIE["AURSID"])) {
else { else {
if ($login_error) { if ($login_error) {
print "<span class='error'>" . $login_error . "</span><br />\n"; print "<span class='error'>" . $login_error . "</span><br />\n";
} }
'?' . implode('&amp', $_GET);
?> ?>
<form method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>"> <form method="post" action="<?php echo $_SERVER['REQUEST_URI'] ?>">
<div> <div>
<?php print __('Username') . ':'; ?> <?php print __('Username') . ':'; ?>
<input type="text" name="user" size="30" maxlength="<?php print USERNAME_MAX_LEN; ?>" value="<?php <input type="text" name="user" size="30" maxlength="<?php print USERNAME_MAX_LEN; ?>" value="<?php
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment