1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-04 10:24:42 +02:00

[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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