[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 > It is a bug. > > On Dec 28, 11:54 pm, Thadeus Burgess wrote: > > When I set > > > > auth.settings.controller = 'admin' > > > > Shouldn't

[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 wrote: > Patch: > > Massimo, > > It don't work because every time auth initialize, it defines controller as > 'default' in line 544 at tools.py > >          self.settings.control

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 wrote: > I'm using Version 1.75.4 and not solved (always go to default/user) > > There is a special place to pu

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 = session.auth_con