summaryrefslogtreecommitdiffstats
path: root/web/html/register.php
diff options
context:
space:
mode:
authorMarcel Korpel <marcel.korpel@gmail.com>2015-09-20 20:12:25 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-09-20 22:01:23 +0200
commitd5d08b8f926e8882864afbfd7446440acc1005d0 (patch)
tree345631fb4b165d00a4e09304f2cfa9ebd0b5977f /web/html/register.php
parentf3ec4d1ef553259b0a617b9d11da4ece2ecc9dfd (diff)
downloadaurweb-d5d08b8f926e8882864afbfd7446440acc1005d0.tar.xz
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>
Diffstat (limited to 'web/html/register.php')
-rw-r--r--web/html/register.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/html/register.php b/web/html/register.php
index 9c5c1cc..f8400a3 100644
--- a/web/html/register.php
+++ b/web/html/register.php
@@ -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>';