Re: [web2py] Re: [web2py:38005] Re: auth.settings.controller

2010-02-24 Thread Alexandre Andrade
Patch: Massimo, It don't work because every time auth initialize, it defines controller as 'default' in line 544 at tools.py self.settings.controller = 'default' I have hacked it to if session and session.auth_controller: self.settings.controller =

[web2py] Re: [web2py:38005] Re: auth.settings.controller

2010-02-24 Thread mdipierro
I am chaging this so that controller is passed to Auth(...,controller='default') On Feb 24, 6:59 pm, Alexandre Andrade alexandrema...@gmail.com wrote: Patch: Massimo, It don't work because every time auth initialize, it defines controller as 'default' in line 544 at tools.py          

[web2py] Re: [web2py:38005] Re: auth.settings.controller

2010-02-23 Thread Alexandre Andrade
I'm using Version 1.75.4 and not solved (always go to default/user) There is a special place to put auth.settings.controller (models?) 2009/12/29 mdipierro mdipie...@cs.depaul.edu It is a bug. On Dec 28, 11:54 pm, Thadeus Burgess thade...@thadeusb.com wrote: When I set

Re: [web2py] Re: [web2py:38005] Re: auth.settings.controller

2010-02-23 Thread Thadeus Burgess
You have to specify all of the urls manually. Take a look at gluon/tools.py and see all of the settings you can change. -Thadeus On Tue, Feb 23, 2010 at 7:50 PM, Alexandre Andrade alexandrema...@gmail.com wrote: I'm using Version 1.75.4 and not solved (always go to default/user) There is

[web2py:38005] Re: auth.settings.controller

2009-12-29 Thread mdipierro
It is a bug. On Dec 28, 11:54 pm, Thadeus Burgess thade...@thadeusb.com wrote: When I set auth.settings.controller = 'admin' Shouldn't it then default to that? When I request an action that requries login, it takes me tohttp://127/init/default/user/loginwhich is... well wrong.