I have a second trouble.
Using email notification i receive correctly a mail that link me to
web2py login telling that an authorization is pending. This at the
first click on the link in mail. The second click results instead a
404 NOT FOUND page.
This is very confusing, because the user expects informations about
pending authorization.
Is it correct? I am missing something?



On Dec 31, 7:07 am, leone <handja...@gmail.com> wrote:
> 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

Reply via email to