Checks if token cookie and localstorage token is the same
c
Returns boolean
true if these two are the same.
Example
if (isLocalStorageAndCookieTokenIsSame()) { console.log("Cookie and localstorage are the same."); } else { console.log("Cookie and localstorage are not same."); }
Checks if token cookie and localstorage token is the same c