From 995f135ff12b699f50a1658f870a2fd9c7a36847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Beurlet?= Date: Thu, 15 Apr 2021 08:44:45 +0200 Subject: [PATCH] [Web] Fix password check typo from 19843cc (#4056) --- data/web/inc/functions.admin.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/web/inc/functions.admin.inc.php b/data/web/inc/functions.admin.inc.php index 1d8300a6..49fc1c5f 100644 --- a/data/web/inc/functions.admin.inc.php +++ b/data/web/inc/functions.admin.inc.php @@ -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