fleet/frontend/redux/middlewares/README.md
Zachary Wasserman c8229cc0d6
Replace uses of the term "Kolide" with "Fleet" (#1999)
Almost two years ago, we began referring to the project as Fleet, but there are
many occurences of the term "Kolide" throughout the UI and documentation. This
PR attempts to clear up those uses where it is easily achievable.

The term "Kolide" is used throughout the code as well, but modifying this would
be more likely to introduce bugs.
2019-01-24 09:39:32 -08:00

481 B

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.