修改用户登录方式,修复登录次数错误
This commit is contained in:
1 parent
1b50a738b9
commit
e28aa4c609
7 files changed
+272
-179
No files matched your search
@@ -177,3 +177,14 @@
|
||||
$subject = $sbj->kaoshi();
|
||||
return $subject;
|
||||
}
|
||||
|
||||
|
||||
// 已知密码进行验证
|
||||
function loginCheck($inputPassword, $serverPassword)
|
||||
{
|
||||
// 实例化加密类
|
||||
$md5 = new \WhiteHat101\Crypt\APR1_MD5;
|
||||
//验证密码
|
||||
$check = $md5->check($inputPassword, $serverPassword);
|
||||
return $check;
|
||||
}
|
||||
Reference in new issue
Block a user