-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Conversation
@juanvallejo @jwforres PTAL |
@@ -152,6 +155,10 @@ func (l *Login) handleLogin(w http.ResponseWriter, req *http.Request) { | |||
return | |||
} | |||
then := req.FormValue("then") | |||
if then == "" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
len(then) == 0
?
LGTM |
1 similar comment
LGTM |
[merge] |
@liggitt looks like you need to update a test |
Evaluated for origin merge up to f812298 |
[Test]ing while waiting on the merge queue |
Evaluated for origin test up to f812298 |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/11619/) (Base Commit: ca3d987) |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/11625/) (Base Commit: bdccd7d) (Image: devenv-rhel7_5398) |
Fixes openshift/origin-web-console#888 and https://bugzilla.redhat.com/show_bug.cgi?id=1369854