Lastly, you set logout to false since your API doesn't have an endpoint for logout. You'll just remove the token from localStorage when a user logs out. Step 4 ...
確定! 回上一頁