summaryrefslogtreecommitdiffstats
path: root/web/html/register.php
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2020-01-30 17:15:33 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2020-02-02 12:12:42 +0100
commitee2aa9755fa3c94e8c8a697c3f7a9627027994d5 (patch)
treeab1ae6b7628036abd7ba0bb28737cf41bfb51a6b /web/html/register.php
parente5a839bf0b9884e2a015b3f0b3fdbf23d1a1654c (diff)
downloadaur-ee2aa9755fa3c94e8c8a697c3f7a9627027994d5.tar.gz
aur-ee2aa9755fa3c94e8c8a697c3f7a9627027994d5.tar.xz
Add support for backup email addresses
Support secondary email addresses that can be used to recover an account in case access to the primary email address is lost. Reset keys for an account are always sent to both the primary and the backup email address. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html/register.php')
-rw-r--r--web/html/register.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/html/register.php b/web/html/register.php
index 610befc4..fee0a68f 100644
--- a/web/html/register.php
+++ b/web/html/register.php
@@ -23,6 +23,7 @@ if (in_request("Action") == "NewAccount") {
1,
0,
in_request("E"),
+ in_request("BE"),
in_request("H"),
'',
'',
@@ -52,6 +53,7 @@ if (in_request("Action") == "NewAccount") {
1,
0,
in_request("E"),
+ in_request("BE"),
in_request("H"),
'',
'',
@@ -75,7 +77,7 @@ if (in_request("Action") == "NewAccount") {
}
} else {
print '<p>' . __("Use this form to create an account.") . '</p>';
- display_account_form("NewAccount", "", "", "", "", "", "", "", "", $LANG);
+ display_account_form("NewAccount", "", "", "", "", "", "", "", "", "", $LANG);
}
echo '</div>';