mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Fix the registration form
Pass the right parameters to display_account_form() and
process_account_form() when showing/processing the registration form.
Fixes a regression introduced in 03c6304
(Rework permission handling,
2014-07-15).
Reported-by: Karthik K <hashken.distro@gmail.com>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
97b7e077f1
commit
441498d896
1 changed files with 3 additions and 3 deletions
|
@ -114,7 +114,7 @@ if (isset($_COOKIE["AURSID"])) {
|
||||||
} elseif ($action == "NewAccount") {
|
} elseif ($action == "NewAccount") {
|
||||||
# process the form input for creating a new account
|
# process the form input for creating a new account
|
||||||
#
|
#
|
||||||
process_account_form("","new", "NewAccount",
|
process_account_form("new", "NewAccount",
|
||||||
in_request("U"), 1, 0, in_request("E"),
|
in_request("U"), 1, 0, in_request("E"),
|
||||||
'', '', in_request("R"), in_request("L"),
|
'', '', in_request("R"), in_request("L"),
|
||||||
in_request("I"), in_request("K"));
|
in_request("I"), in_request("K"));
|
||||||
|
@ -123,7 +123,7 @@ if (isset($_COOKIE["AURSID"])) {
|
||||||
# display the account request form
|
# display the account request form
|
||||||
#
|
#
|
||||||
print __("Use this form to create an account.");
|
print __("Use this form to create an account.");
|
||||||
display_account_form("", "NewAccount", "", "", "", "", "", "", "", $LANG);
|
display_account_form("NewAccount", "", "", "", "", "", "", "", $LANG);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue