The same for me...

El 28/10/2009 7:29, Russell escribió:
> Hi,
>
> Upgrading to Version 1.68.2 broke the Auth in my applications.  The
> bug: when a user is visiting a controller other than 'default' and the
> the login cookie expires, the ?_next parameter incorrectly bounces
> them back to the 'default' controller.
>
> I've narrowed it down to the new auth.settings.controller, which has a
> default of 'default'.  This may be a reasonable assumption, but does
> not seem to be backwards compatible.
>
> The fix that works for me is to change these two lines in tools.py:
>
> 328: self.settings.controller = 'default'
> 1707: self.settings.controller = 'default'
>
> to this:
>
> 328: self.settings.controller = response.controller
> 1707: self.settings.controller = response.controller
>
> If you don't mind me asking, why was this added and where is it
> documented? :-)
> >
>
>    

-- 
Alejandro Fanjul Fdez.
alex.fan...@gmail.com
www.mhproject.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to