I1820 / frontend.ng

I1820 Platform - frontend with SSR and :heart_eyes:
GNU General Public License v3.0
1 stars 0 forks source link

Login Page Refresh #20

Closed 1995parham closed 5 years ago

1995parham commented 5 years ago

The Login page is refreshed instead of showing an error when the username/password combination is not correct. This occurs because the AuthService sees 401 then calls refresh token and redirects to login page.

1995parham commented 5 years ago

Check existence of the user in local storage to find out the user logged in before or he tries to log in right now. Based on this check AuthService does not refresh token when the user tries to log in.