Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Properly redirect on base path and /login #9

Open
dermalikmann opened this issue May 26, 2024 · 0 comments
Open

[Enhancement] Properly redirect on base path and /login #9

dermalikmann opened this issue May 26, 2024 · 0 comments

Comments

@dermalikmann
Copy link

On opening the page through its base path (e.g. "https://admin.mymail.server/") the user should be redirected depending if they are logged in.

  • If they are, the site should redirect to the same page a user gets send to when successfully logging in (e.g. /manage/directory/accounts)
  • If the user is not logged in, the site should redirect to /login.

Currently, on opening the base path, the user gets the login screen, even if logged in, which can be quite confusing.
Additionally there should not be two different paths of logging into the website. Have one single login page, served through one single route.

Furthermore, /login should also handle a user that is already logged in, like it handles a user that has successfully logged in (redirecting to e.g. /manage/directory/accounts)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant