Correct way of doing Sanctum logout

3.6k views Asked by At

When logging out, do we need to call one or both of the following?

  1. As suggested here:

    request()->user()->currentAccessToken()->delete();
    
  2. As suggested here

    Auth::guard('web')->logout();
    
0

There are 0 answers