mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
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>
This commit is contained in:
parent
e5a839bf0b
commit
ee2aa9755f
9 changed files with 47 additions and 14 deletions
|
@ -33,6 +33,7 @@ if ($action == "UpdateAccount") {
|
|||
in_request("T"),
|
||||
in_request("S"),
|
||||
in_request("E"),
|
||||
in_request("BE"),
|
||||
in_request("H"),
|
||||
in_request("P"),
|
||||
in_request("C"),
|
||||
|
@ -97,6 +98,7 @@ if (isset($_COOKIE["AURSID"])) {
|
|||
$row["AccountTypeID"],
|
||||
$row["Suspended"],
|
||||
$row["Email"],
|
||||
$row["BackupEmail"],
|
||||
$row["HideEmail"],
|
||||
"",
|
||||
"",
|
||||
|
@ -159,6 +161,7 @@ if (isset($_COOKIE["AURSID"])) {
|
|||
in_request("T"),
|
||||
in_request("S"),
|
||||
in_request("E"),
|
||||
in_request("BE"),
|
||||
in_request("H"),
|
||||
in_request("P"),
|
||||
in_request("C"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue