fleet/frontend/redux/middlewares
noahtalerman 98799fdff8
New styles for 404, 500, Login, User settings, and Confirm invite pages. (#108)
- Kolide404 and Kolide500 components renamed to Fleet404 and Fleet500
- Styling for Login and Confirm invite pages are consistent with the recent changes to the Setup page.
- Add "*" character to the 404 <Route />'s path property. Now the 404 page renders when there is no exact path match.
2020-12-08 17:45:08 -08:00
..
redirect New styles for 404, 500, Login, User settings, and Confirm invite pages. (#108) 2020-12-08 17:45:08 -08:00
auth.js Get app to work in IE (#1344) 2017-03-03 12:21:07 -05:00
README.md Replace uses of the term "Kolide" with "Fleet" (#1999) 2019-01-24 09:39:32 -08:00

Fleet Redux Middleware

The Fleet Redux Middleware handles actions before they hit the reducers. The current middleware does the following:

Authentication Middleware

The authentication middleware handles logging a user in/out and handles logging out a user when the API responds with an unauthenticated error.

Redirect Middleware

The redirect middleware transitions the user to the 500 page when an API call fails with a 500 status.