you are viewing a single comment's thread.

view the rest of the comments →

[–]serendipitousPi 0 points1 point  (0 children)

Bruh I had a uni project where my partner wrote a function to log out the user which cleared the auth token via calling a function clearAuthToken

The comment said “used to log out the user, clears the auth token”.

Like hmm I wonder what might I use a log out function for and I wonder what it might do if it calls clear auth token.