[fix] 登录密码修改生成和验证方式

This commit is contained in:
醉挽清风 2023-03-23 13:49:49 +08:00
parent 10aa220dfa
commit eeea5dfd2a
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ class LoginValidate extends BaseValidate
$adminAccountSafeCache->record();
return '账号不存在';
}
var_dump($adminInfo['password']);
if (!password_verify($password,$adminInfo['password'])) {
$adminAccountSafeCache->record();
return '密码错误';

View File

@ -1,6 +1,6 @@
<?php
return [
'default' => 'file',
'default' => 'redis',
'stores' => [
'file' => [
'type' => 'File',