peterguo 3 weeks ago
parent
commit
b3ef75f844
1 changed files with 1 additions and 1 deletions
  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);
     }
 
     /**