No matter where I set them auth.settings seems to have no effect (not
even auth.settings.register_next
= URL('index', it does not redirects).
I set them after defining auth but no success
Is it possible that this is because of my "custom" user function?
2016-02-04 18:03 GMT+01:00 Anthony <[email protected]>:
> On Thursday, February 4, 2016 at 3:21:02 AM UTC-5, Yebach wrote:
>>
>> DO you suggest I change my controller completely ?
>>
>
> I don't know about "completely," but at least fix the incorrect part.
>
>
>> where do I set auth.settings_register_onaccept? in db.py?
>>
>
> Anywhere after Auth has been defined but before the register action will
> get called. With all the other Auth settings in a model file is fine.
>
> Anthony
>
>> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/NwljExPCKAA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
Lep pozdrav
Vid Ogris
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.