Skip to content
Permalink
Browse files
Update ExtLoginController.class.php
  • Loading branch information
star7th committed Oct 13, 2021
1 parent 9965fb9 commit 19a0a0453061ac6b7cb91da8b686c0bb3f2085d9
Showing with 1 addition and 1 deletion.
  1. +1 −1 server/Application/Api/Controller/ExtLoginController.class.php
@@ -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不正确");

0 comments on commit 19a0a04

Please sign in to comment.