mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Require current password when setting a new one
Prevent from easily taking over an account by changing the password with a stolen session ID. Fixes FS#65325. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
eeaa1c3a32
commit
daee20c694
4 changed files with 36 additions and 14 deletions
|
@ -34,6 +34,7 @@ if ($action == "UpdateAccount") {
|
|||
in_request("S"),
|
||||
in_request("E"),
|
||||
in_request("H"),
|
||||
in_request("PO"),
|
||||
in_request("P"),
|
||||
in_request("C"),
|
||||
in_request("R"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue