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

Redirect to server root if login flow is started with no destination #11961

Merged
merged 1 commit into from
Nov 22, 2016
Merged

Redirect to server root if login flow is started with no destination #11961

merged 1 commit into from
Nov 22, 2016

Conversation

liggitt
Copy link
Contributor

@liggitt liggitt commented Nov 17, 2016

@liggitt
Copy link
Contributor Author

liggitt commented Nov 17, 2016

@juanvallejo @jwforres PTAL

@@ -152,6 +155,10 @@ func (l *Login) handleLogin(w http.ResponseWriter, req *http.Request) {
return
}
then := req.FormValue("then")
if then == "" {
Copy link
Contributor

Choose a reason for hiding this comment

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

len(then) == 0?

@juanvallejo
Copy link
Contributor

LGTM

1 similar comment
@jwforres
Copy link
Member

LGTM

@liggitt
Copy link
Contributor Author

liggitt commented Nov 17, 2016

[merge]

@jwforres
Copy link
Member

@liggitt looks like you need to update a test

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to f812298

@openshift-bot
Copy link
Contributor

[Test]ing while waiting on the merge queue

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to f812298

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/11619/) (Base Commit: ca3d987)

@openshift-bot
Copy link
Contributor

openshift-bot commented Nov 22, 2016

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/11625/) (Base Commit: bdccd7d) (Image: devenv-rhel7_5398)

@openshift-bot openshift-bot merged commit 6683989 into openshift:master Nov 22, 2016
@liggitt liggitt deleted the login-redirect branch November 30, 2016 20:00
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

Successfully merging this pull request may close these issues.

4 participants