diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-07-29 14:28:29 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-07-29 14:28:29 +0200 |
commit | 441498d89699e1477df03d59b04da3a5cc094e60 (patch) | |
tree | 236c44891e459468069cc3154423b0ece8824023 | |
parent | 97b7e077f17339de2f932c502e54eb5b6700bcde (diff) | |
download | aur-441498d89699e1477df03d59b04da3a5cc094e60.tar.gz aur-441498d89699e1477df03d59b04da3a5cc094e60.tar.xz |
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>
-rw-r--r-- | web/html/account.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/html/account.php b/web/html/account.php index d2899502..f5ca3047 100644 --- a/web/html/account.php +++ b/web/html/account.php @@ -111,10 +111,10 @@ if (isset($_COOKIE["AURSID"])) { # if ($action == "AccountInfo") { print __("You must log in to view user information."); - } elseif ($action == "NewAccount") { + } elseif ($action == "NewAccount") { # 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("R"), in_request("L"), in_request("I"), in_request("K")); @@ -123,7 +123,7 @@ if (isset($_COOKIE["AURSID"])) { # display the account request form # print __("Use this form to create an account."); - display_account_form("", "NewAccount", "", "", "", "", "", "", "", $LANG); + display_account_form("NewAccount", "", "", "", "", "", "", "", $LANG); } } |