mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
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>
This commit is contained in:
parent
97dd4b0f4d
commit
f1a4b508e5
2 changed files with 4 additions and 4 deletions
|
@ -105,8 +105,8 @@ if (isset($_COOKIE["AURSID"])) {
|
|||
#
|
||||
process_account_form("","new", "NewAccount",
|
||||
in_request("U"), 1, 0, in_request("E"),
|
||||
in_request("P"), in_request("C"), in_request("R"),
|
||||
in_request("L"), in_request("I"), in_request("K"));
|
||||
'', '', in_request("R"), in_request("L"),
|
||||
in_request("I"), in_request("K"));
|
||||
|
||||
} else {
|
||||
# display the account request form
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue