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
Is your feature request related to a problem? Please describe.
A 401 unauthorised alert will be prompted when a user who is already logged out trying to perform action on the UserPage.
Describe the solution you'd like
Ideally user should be redirected to the LogIn Page
The text was updated successfully, but these errors were encountered:
However, handling the error response in every single method where an HTTP call is made, would result in a number of duplicates. I suggest interacting with the history object directly, instead of passing it through props and arguments of methods in a long chain.
Proposal
Instantiate the history object outside of the entry-point.
Is your feature request related to a problem? Please describe.
A 401 unauthorised alert will be prompted when a user who is already logged out trying to perform action on the UserPage.
Describe the solution you'd like
Ideally user should be redirected to the LogIn Page
The text was updated successfully, but these errors were encountered: