diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2020-01-30 17:15:33 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2020-02-02 12:12:42 +0100 |
commit | ee2aa9755fa3c94e8c8a697c3f7a9627027994d5 (patch) | |
tree | ab1ae6b7628036abd7ba0bb28737cf41bfb51a6b /web/template | |
parent | e5a839bf0b9884e2a015b3f0b3fdbf23d1a1654c (diff) | |
download | aur-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/template')
-rw-r--r-- | web/template/account_edit_form.php | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php index 09d65c0f..edacbbf3 100644 --- a/web/template/account_edit_form.php +++ b/web/template/account_edit_form.php @@ -76,12 +76,22 @@ <label for="id_email"><?= __("Email Address") ?>:</label> <input type="text" size="30" maxlength="254" name="E" id="id_email" value="<?= htmlspecialchars($E,ENT_QUOTES) ?>" /> (<?= __("required") ?>) </p> - <p> <em><?= __("Please ensure you correctly entered your email address, otherwise you will be locked out.") ?></em> </p> <p> + <label for="id_backup_email"><?= __("Backup Email Address") ?>:</label> + <input type="text" size="30" maxlength="254" name="BE" id="id_backup_email" value="<?= htmlspecialchars($BE, ENT_QUOTES) ?>" /> + </p> + <p> + <em> + <?= __("Optionally provide a secondary email address that can be used to restore your account in case you lose access to your primary email address.") ?> + <?= __("Password reset links are always sent to both your primary and your backup email address.") ?> + </em> + </p> + + <p> <label for="id_hide"><?= __("Hide Email Address") ?>:</label> <input type="checkbox" name="H" id="id_hide" <?= $H ? 'checked="checked"' : '' ?> /> </p> |