mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01: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
|
@ -76,11 +76,21 @@
|
|||
<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"' : '' ?> />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue