Hi Leone

I was just trying to do the same thing!  I failed.

Like you, I went from one problem to the next and the urls never
seemed to work 100% correctly for all cases. In the end I gave up in
frustration and relocated 'user' function back into 'default'  :(

-D

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