https://bugzilla.wikimedia.org/show_bug.cgi?id=33997

--- Comment #2 from T. Gries <[email protected]> 2012-02-11 13:21:28 UTC ---
(In reply to comment #1)
> As per my understanding, generally after the user login, the page is 
> redirected
> back to the page user was originally on due to the parameter 'returnto' of the
> $request object (WebRequest). 
> Since in this case, the user was on 'PasswordRequest' page, he would be
> redirected to the same page again. Hence in this case, we might need to
> explicitly set the parameter to the 'main-page'. Hence it would be a code
> addition somewhere in the PasswordReset page for setting the value of some
> parameter to 'main-page' which would reflect in $request['returnto']
> 
> Aashish

I think, I need to give a detailed analysis. Allow me to use some "bold" words
to point to the differences.

There is _no_ problem for this case I:

- you or someone else has triggered to have the password "reset" mail sent to
you from the Special:PasswordReset page
- you go to your mail client
- you click on the link in your mail - the link goes to
https://server/phase3/index.php/Main_Page 
- you come to the newly rendered Main page 
- where you now click onto login 
- enter your temporary password, and 2x the new one
= Okay

The problem is visible in this scenario case II:

- you or someone else has triggered to have the password "reset" mail sent to
you from the Special:PasswordReset page
- (X) you LEAVE THIS browser page as it stands (saying something like "a
temporary password has been successfully mailed to ...")
- you goto to your mail
- you DO NOT click on the link in your mail (the link goes to
https://server/phase3/index.php/Main_Page)
- you switch to your still-opened browser window with the unchanged page of
step (X)
- where you now click onto login link (THIS LINK HAS THE WRONG returnto
https://server/phase3/index.php?title=Special:UserLogin&returnto=Special%3APasswordReset
because the page was not rendered again, still stands at (X) )
- enter your temporary password, and 2x the new one

Problem: now your are again at "Special:PasswordReset" , which is correct
behaviour of the Wiki software, but not what a user wants.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to