peterguo 4 tuần trước cách đây
mục cha
commit
b3ef75f844
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Http/Controllers/API/AuthController.php

+ 1 - 1
app/Http/Controllers/API/AuthController.php

@@ -58,7 +58,7 @@ class AuthController extends Controller
 
         Auth::user()->currentAccessToken()->delete();
 
-        return $this->noContent();
+        return $this->noContent()->withCookie('X-Tenant', null);
     }
 
     /**