Branch: refs/heads/2.6
Home: https://github.com/openSUSE/open-build-service
Commit: 038e83117c449f21e567fcd3dcc6e161b6e477c9
https://github.com/openSUSE/open-build-service/commit/038e83117c449f21e567fc...
Author: Christian Schneemann
Date: 2016-03-10 (Thu, 10 Mar 2016)
Changed paths:
M src/api/app/controllers/webui/user_controller.rb
M src/api/test/functional/webui/user_controller_test.rb
Log Message:
-----------
[webui] redirect to home after login from /user/do_login
If a user enters wrong credentials in login widget and he gets redirected to /user/do_login.
If login happens with correct credentials now the user is logged in but stays on the page and sees the login form again in master, or gets an 404 in 2.6.
Now he gets redirected into home if the user comes from the login page.
fixes #1557
Conflicts:
src/api/app/controllers/webui/user_controller.rb
src/api/test/functional/webui/user_controller_test.rb
Commit: 110a65afac8d49a7f9a6e89f0479d31a991e8efa
https://github.com/openSUSE/open-build-service/commit/110a65afac8d49a7f9a6e8...
Author: Christian Schneemann
Date: 2016-03-10 (Thu, 10 Mar 2016)
Changed paths:
M src/api/test/functional/webui/user_controller_test.rb
Log Message:
-----------
added remarks for test_that_redirect_from_user_do_login_works
Added remarks from bgeuken:
- removed the comment
- call user_login_page directly
- test if current page is really home
Compare: https://github.com/openSUSE/open-build-service/compare/40968808f7ff...110a65...