aqualinkorg / aqualink-app

Aqualink.org Ocean Monitoring Application
MIT License
34 stars 12 forks source link

Show login dialog on unauthorized request result #898

Closed echaidemenos closed 1 year ago

echaidemenos commented 1 year ago

resolves https://github.com/aqualinkorg/aqualink-app/issues/882

Basically adds an axios response interceptor in NavBar, checking for statuses 401 or 403, logouts the user the then show the login dialog.

github-actions[bot] commented 1 year ago

Build succeeded and deployed at https://aqualink-app-898.surge.sh (hash 2f3d62a5771ff4d9d32742fdf4243b2f795e2784 deployed at 2023-07-04T15:04:56)