From 441498d89699e1477df03d59b04da3a5cc094e60 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 29 Jul 2014 14:28:29 +0200 Subject: 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 Signed-off-by: Lukas Fleischer --- web/html/account.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web/html/account.php') diff --git a/web/html/account.php b/web/html/account.php index d289950..f5ca304 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); } } -- cgit v1.2.3-70-g09d2