alfonsodg / demo-web2py

Apache License 2.0
0 stars 0 forks source link

Lost _next var after invalid login (Auth tool) #38

Closed alfonsodg closed 10 years ago

alfonsodg commented 10 years ago

From danil.m...@gmail.com on June 09, 2009 06:05:41

What steps will reproduce the problem? 1. Login correctly on Auth-enabled site

  1. Go to profile or some user resticted page
  2. Click Logout
  3. You will be redirected to Login form with hidden _next field that has value of url to referred page (/user/profile/)
  4. Try to input wrong login data
  5. You will be redirected to Login form once again, but _next field value will be /user/login/ What is the expected output? What do you see instead? _next variable should be consistent in Login form. What version of the product are you using? On what operating system? Latest trunk Please provide any additional information below. Suggested fix is in file gluon/tools.py:712, replace line by return form

Original issue: http://code.google.com/p/web2py/issues/detail?id=39

alfonsodg commented 10 years ago

From hans.don...@pobox.com on July 18, 2009 00:12:28

mechanism has changed now

alfonsodg commented 10 years ago

From massimod...@gmail.com on August 11, 2009 05:08:20

Is this still a problem?

alfonsodg commented 10 years ago

From massimod...@gmail.com on August 23, 2009 15:56:49

This ticket refers to an old mechanism that no longer exists in tools. Can somebody verify if this is still a problem? I believe it is fixed but I would like confirmation from somebody else before closing the ticket.

Status: Accepted

alfonsodg commented 10 years ago

From massimod...@gmail.com on September 11, 2009 06:43:11

No answer. I think this is not longer a problem.

Status: Fixed