Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
aurweb
Commits
2f8b8aac
Commit
2f8b8aac
authored
Mar 03, 2009
by
Loui Chang
Browse files
Redirect to REQUEST_URI after logging in.
This closes FS#13017 Signed-off-by:
Loui Chang
<
louipc.ist@gmail.com
>
parent
3c1b84bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
web/template/login_form.php
View file @
2f8b8aac
...
...
@@ -9,9 +9,10 @@ if (isset($_COOKIE["AURSID"])) {
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment