mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Require password when deleting an account
Further reduce the attack surface in case of a stolen session ID. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
7aa420d24d
commit
8fc8898fef
2 changed files with 22 additions and 6 deletions
|
@ -12,8 +12,15 @@
|
|||
<input type="hidden" name="token" value="<?= htmlspecialchars($_COOKIE['AURSID']) ?>" />
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<p><label class="confirmation"><input type="checkbox" name="confirm" value="1" />
|
||||
<?= __("Confirm deletion") ?></label></p>
|
||||
<p>
|
||||
<label for="id_passwd"><?= __("Password") ?>:</label>
|
||||
<input type="password" size="30" name="passwd" id="id_passwd" value="" />
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label class="confirmation"><input type="checkbox" name="confirm" value="1" />
|
||||
<?= __("Confirm deletion") ?></label>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<input type="submit" class="button" value="<?= __("Delete") ?>" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue