Explorar el Código

:fire: mint_token

visuddhinanda hace 2 años
padre
commit
cdc8299fcc
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      public/app/ucenter/index.php

+ 0 - 1
public/app/ucenter/index.php

@@ -176,7 +176,6 @@ if (isset($_POST["op"]) && $_POST["op"] == "new") {
 					setcookie("token", $jwt, ["expires"=>$ExpTime,"path"=>"/","secure"=>true,"httponly"=>true]);
 				}
 				#给js用的
-				setcookie("mint_token", $jwt, time()+60*60*24*365,"/");
 				setcookie("uid", $uid, time()+60*60*24*365,"/");
 				setcookie("username", $username, time()+60*60*24*365,"/");
 				setcookie("userid", $user_uuid, time()+60*60*24*365,"/");