rkljw hai 1 semana
pai
achega
8382bce525

+ 1 - 1
app/Controller/LoginController.php

@@ -572,7 +572,7 @@ class LoginController extends AbstractController
         }else{
             $isDel = 1;
         }
-//        setcookie("Admin-Token", "", time(), "/");
+        setcookie("Admin-Token", "", time(), "/");
         try {
             $jwt->logout($reqData['admintoken']);
 

+ 1 - 1
app/Middleware/Auth/SensitiveMiddleware.php

@@ -83,6 +83,6 @@ class SensitiveMiddleware implements MiddlewareInterface
             var_dump("错误消息:",$e->getMessage(),$e->getCode());
             return $handler->handle($request);
         }
-        return false;
+        return $handler->handle($request);
     }
 }