[Web] Fix password check typo from 19843cc (#4056)

master
Loïc Beurlet 2021-04-15 08:44:45 +02:00 committed by GitHub
parent 2b2e139d7a
commit 995f135ff1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ function admin($_action, $_data = null) {
return false;
}
}
if (password_check($password2, $password2) !== true) {
if (password_check($password, $password2) !== true) {
return false;
}
// support pre hashed passwords