Logout of Geo secondary takes you to primary login page
Summary
When logging out of a Geo secondary node, the user is taken to the login page of the primary node, which could be confusing.
Steps to reproduce
- Login to a Geo secondary node (for example,
https://secondary.mygitlab.com
) - Logout
- Notice that you are now on the page
https://primary.mygitlab.com/users/sign_in
- Logging in will login you into the primary node
What is the expected correct behavior?
I think the user would expect to be at a screen where they could log back into the secondary node.
When you initially login to the secondary node, it redirects you to the primary node - you login there, and it then takes you back to the secondary. So when you logout, it also takes you to the primary login screen. However logging in again will log the user into the primary.
This can be confusing to the user.