diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2013-03-19 13:44:08 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2013-03-19 14:03:34 +0100 |
commit | f1a4b508e57879e2c17feded54f0d1b82ae54d2b (patch) | |
tree | d5ae86e8d3c4aede2cb62061f8155f99f70c33d1 /web/template | |
parent | 97dd4b0f4de69e63e7924ba9ecb726b3c07008f4 (diff) | |
download | aur-f1a4b508e57879e2c17feded54f0d1b82ae54d2b.tar.gz aur-f1a4b508e57879e2c17feded54f0d1b82ae54d2b.tar.xz |
Enforce e-mail validation during registration
Remove the password field from the account creation form and always send
a password reset request via e-mail instead. This ensures that only
users with valid e-mail addresses are able to login.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template')
-rw-r--r-- | web/template/account_edit_form.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php index a41b34cf..a0de2a38 100644 --- a/web/template/account_edit_form.php +++ b/web/template/account_edit_form.php @@ -60,17 +60,17 @@ <input type="text" size="30" maxlength="64" name="E" id="id_email" value="<?= htmlspecialchars($E,ENT_QUOTES) ?>" /> (<?= __("required") ?>) </p> + <?php if ($A == "UpdateAccount"): ?> <p> <label for="id_passwd1"><?= __("Password") ?>:</label> <input type="password" size="30" name="P" id="id_passwd1" value="<?= $P ?>" /> - <?php if ($A != "UpdateAccount"): print " (".__("required").")"; endif; ?> </p> <p> <label for="id_passwd2"><?= __("Re-type password") ?>:</label> <input type="password" size="30" name="C" id="id_passwd2" value="<?= $C ?>" /> - <?php if ($A != "UpdateAccount"): print " (".__("required").")"; endif; ?> </p> + <?php endif; ?> <p> <label for="id_realname"><?= __("Real Name") ?>:</label> |