Description
When logging in with openid, you are always redirected to the front page, rather than to the page you were looking at when you started the login.
Steps to reproduce
- Enable openid login
- Navigate to a sub page
- Click "Login"
- Complete the login process
- Once the process completes you will be at the root page, rather than the page you started on.
Example
https://wiki.ubuntu.com/ shows this behaviour.
Component selection
MoinMoin.auth.get_multistage_continuation_url
Details
The get_multistage_continuation_url function tries to use request.page to redirect back to the same page.
However, request.page isn't set up until after setup_user has been called, which triggers the login action when submitting the form.
Either the function needs to use some other method to try and stick on the same page, or the setup of request.page needs to be bought forwards in the pipeline.
MoinMoin Version |
1.9 |
OS and Version |
Ubuntu 12.04 |
Python Version |
2.7 |
Server Setup |
|
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
|
Workaround
No known workaround.
Discussion
Plan
- Priority:
- Assigned to:
- Status: