You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several places in the /classroom interface where the bearer token is hardcoded.
Implement a function that dynamically stores and retrieves the token from the local storage.
You can check for localStorage.get('userToken') and login () if there isn't one.
You can use that function where in the places it's required.
Reference:
The text was updated successfully, but these errors were encountered:
There are several places in the /classroom interface where the bearer token is hardcoded.
Implement a function that dynamically stores and retrieves the token from the local storage.
You can check for
localStorage.get('userToken')
andlogin ()
if there isn't one.You can use that function where in the places it's required.
Reference:
The text was updated successfully, but these errors were encountered: