[fix] 登录密码修改生成和验证方式
This commit is contained in:
parent
10aa220dfa
commit
eeea5dfd2a
@ -72,7 +72,7 @@ class LoginValidate extends BaseValidate
|
||||
$adminAccountSafeCache->record();
|
||||
return '账号不存在';
|
||||
}
|
||||
var_dump($adminInfo['password']);
|
||||
|
||||
if (!password_verify($password,$adminInfo['password'])) {
|
||||
$adminAccountSafeCache->record();
|
||||
return '密码错误';
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
return [
|
||||
'default' => 'file',
|
||||
'default' => 'redis',
|
||||
'stores' => [
|
||||
'file' => [
|
||||
'type' => 'File',
|
||||
|
Loading…
x
Reference in New Issue
Block a user