Skip to content

Commit

Permalink
Update ExtLoginController.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
star7th committed Oct 13, 2021
1 parent 9965fb9 commit 19a0a04
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -17,7 +17,7 @@ public function bySecretKey(){
return ;
}
$login_secret_key = D("Options")->get("login_secret_key") ;

if(!$login_secret_key) return false ;
$new_token = md5($username.$login_secret_key.$time);
if($token != $new_token){
$this->sendError(10101,"token不正确");
Expand Down

0 comments on commit 19a0a04

Please sign in to comment.