fleet/frontend/redux/middlewares
Gabe Hernandez efb35b537a
add prettier and have it format all fleet application code (#625)
* add prettier and have it format all js code except website:
:

* trying running prettier check in CI

* fix runs on in CI

* change CI job name

* fix prettier erros and fix CI
2021-04-12 14:32:25 +01:00
..
redirect add prettier and have it format all fleet application code (#625) 2021-04-12 14:32:25 +01:00
auth.js add prettier and have it format all fleet application code (#625) 2021-04-12 14:32:25 +01: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.