summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/template/login_form.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/web/template/login_form.php b/web/template/login_form.php
index 6ada88bf..d0df370d 100644
--- a/web/template/login_form.php
+++ b/web/template/login_form.php
@@ -9,9 +9,10 @@ if (isset($_COOKIE["AURSID"])) {
else {
if ($login_error) {
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>
<?php print __('Username') . ':'; ?>
<input type="text" name="user" size="30" maxlength="<?php print USERNAME_MAX_LEN; ?>" value="<?php