you don't need to modify gluon and you should avoid it as much as you can...

I add another answer to the other thread...

Richard

On Tue, Dec 15, 2015 at 4:20 PM, Jonathan R <[email protected]> wrote:

> It seems like no one has any clue about this..
>
> I was thinking about modifying the code inside gluon.tools to use
> enumerate() on the for loop parsing auth.settings.login_methods in order to
> have an index of the auth_method that succeed and from here determine the
> server.
>
> I'm not quite sure where I should add this enumerate, I found several
> places where login_method was used and I couldn't figure out which one it
> is.
>
> I would rather not touch web2py base code but I'm out of idea.
>
> --
> 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.
>

-- 
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.

Reply via email to