wuvt / trackman

WUVT's track logging web-app
GNU Affero General Public License v3.0
4 stars 3 forks source link

logging out of admin probably shouldn't redirect back to trackman #63

Closed echarlie closed 4 years ago

echarlie commented 6 years ago

this is a great way to end up with trackman login pages on multiple hosts or multiple people (accidentally) logging---until we have some way to handle multiple active sessions (i.e. prevent them?), I don't think this is a good idea.

Thoughts?

mutantmonkey commented 6 years ago

What should happen when you log out then?

echarlie commented 6 years ago

can we make a more generic landing page? maybe one that just has 2 links "log into trackman", "log into admin", so that people accessing admin from off our network don't log in > edit something > log out > get prompted to log back in > end up at trackman.

The added benefit is now we have a safe link from the wuvt-site admin interface to send people to.

mutantmonkey commented 5 years ago

Sure, that sounds good to me, what should it be? /landing? /welcome?

echarlie commented 5 years ago

I would probably make it /home or /signout or something. Honestly, I'm not sure it matters.

Maybe the solution here is to create different "views" (I'm not sure if they'd be flask views) for the bare /admin URL, where users who aren't signed in get a "sign in" link. However, the UX for that isn't great for users who are redirected from WUVT-site, since we don't really have SSO

mutantmonkey commented 5 years ago

/signout doesn't make any sense and /home is confusing...

mutantmonkey commented 4 years ago

Closing this, as logging out now displays a simple page with a you have been logged out message.