Skip to content

Conversation

@n0emis
Copy link
Contributor

@n0emis n0emis commented Aug 29, 2020

Fixes: #4977

Before returning the login form, the corresponding method now checks if the user is already logged in. when this is the case, the user get's redirected.

@n0emis n0emis changed the title Fixes #4977: Redirect users away from /login, if they are already logged in Redirect users away from /login, if they are already logged in Aug 29, 2020
Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid duplicating code

@n0emis n0emis requested a review from jeremystretch September 2, 2020 20:38
@jeremystretch jeremystretch merged commit 83eede8 into netbox-community:develop Sep 4, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Redirect users away from /login, if they are already logged in

2 participants