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

This commit is contained in:
Loïc Beurlet
2021-04-15 08:44:45 +02:00
committed by GitHub
parent 2b2e139d7a
commit 995f135ff1

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