Browse Source

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

Loïc Beurlet 4 năm trước cách đây
mục cha
commit
995f135ff1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      data/web/inc/functions.admin.inc.php

+ 1 - 1
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