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:
Loui Chang 2009-03-03 13:06:37 -05:00
parent 3c1b84bc7e
commit 2f8b8aac73

View file

@ -10,8 +10,9 @@ 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