Correct way of doing Sanctum logout

后端 未结 0 1037
天命终不由人
天命终不由人 2021-01-21 01:32

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

  1. As suggested here:

    request()->user()->currentAccessToken()->delete();
             
    
    
            
相关标签:
回答
  • 消灭零回复
提交回复
热议问题