Hi all!
Happy new year!
I have put user func in a controller other than 'default' and i set
auth.settings.controller='newcontroller'
but web2py continue to call default/user
To bypass it I put the newcontroller name in Auth init:
auth = Auth(globals(),db,'newcontroller')
so it runs, but I have to update
auth.settings.logout_next = URL(r=request,c='newcontroller',f='index')
etc.
Setting auth.settings.controller to 'newcontroller', the value of
self.settings.controller in def url of Auth class is always 'default'.
Is it ok???
Thanks
leone