mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add option to hide one's email address
Implements FS#42343. Signed-off-by: Marcel Korpel <marcel.korpel@gmail.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
f3ec4d1ef5
commit
d5d08b8f92
7 changed files with 46 additions and 15 deletions
|
@ -21,7 +21,7 @@ echo '<h2>' . __('Register') . '</h2>';
|
|||
if (in_request("Action") == "NewAccount") {
|
||||
list($success, $message) = process_account_form(
|
||||
"new", "NewAccount", in_request("U"), 1, 0,
|
||||
in_request("E"), '', '', in_request("R"),
|
||||
in_request("E"), in_request("H"), '', '', in_request("R"),
|
||||
in_request("L"), in_request("I"), in_request("K"),
|
||||
in_request("PK"));
|
||||
|
||||
|
@ -29,13 +29,13 @@ if (in_request("Action") == "NewAccount") {
|
|||
|
||||
if (!$success) {
|
||||
display_account_form("NewAccount", in_request("U"), 1, 0,
|
||||
in_request("E"), '', '', in_request("R"),
|
||||
in_request("E"), in_request("H"), '', '', in_request("R"),
|
||||
in_request("L"), in_request("I"), in_request("K"),
|
||||
in_request("PK"));
|
||||
}
|
||||
} else {
|
||||
print '<p>' . __("Use this form to create an account.") . '</p>';
|
||||
display_account_form("NewAccount", "", "", "", "", "", "", "", $LANG);
|
||||
display_account_form("NewAccount", "", "", "", "", "", "", "", "", $LANG);
|
||||
}
|
||||
|
||||
echo '</div>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue