BenShelton / oclm-planner

A planner for the OCLM meetings of Jehovah's Witnesses
GNU General Public License v3.0
5 stars 1 forks source link

Validate Token Immediately #93

Open BenShelton opened 4 years ago

BenShelton commented 4 years ago

Currently the token is only validated after an action is made, after which the user is kicked back to Login. This isn't ideal UX seeing as you have a few options available and it just seems like an error occurred.

Instead let's validate the token before the app loads so that the user is routed immediately to the Login page (or Home if they were on Home) rather than taking the extra step.