Beta: Login
Implement the /login route that renders the login form. The UI can be the same as now:
Use the ArticleLayout
with aside menus for /forgot-password and /registration.
The sagaLoginUser
saga:
- Starts when user clicks the "Login" button
- Authenticate user against the API
- On successful login: update token in Redux store and the cookie, redirect to /
- On failed login: render error message