ZTL-ARTCC / Current_Website

vZTL's Official Website
4 stars 7 forks source link

#546 Update login redirects for realops #571

Closed kjporter closed 2 months ago

kjporter commented 2 months ago

This PR will:

kjporter commented 2 months ago

When going through this process, it still logs me in as a controller if I'm not logged in under anything. We may need to check for this session earlier in the process if it's catching the controller login before it gets to this part

Yup, it is supposed to do that. The only thing that this changes is when someone that thinks they are on the roster uses the upper-right login button to login to the dashboard, they get a new error message and won't be redirected to realops (but they will be logged in as a realops pilot). This was an edge case that we made a decision a while ago not to fix, and then it became an issue during realops this year when our roster update routine wasn't working (so people weren't getting added to the roster and when they tried to login they got auto-redirected to /realops with no explanation).