On Thursday, September 19, 2013 5:52:42 AM UTC-7, viniciusban wrote:
>
> Maybe manual authentication [1] helps you. 
>
> [1] 
> http://web2py.com/books/default/chapter/29/09/access-control#Manual-Authentication
>  
>

There's another section, 9.2.2 "Combining Requirements",  that talks about 
multiple login methods.  That's just a little above the Manual 
Authentication,
<http://web2py.com/books/default/chapter/29/09/access-control#Combining-requirements>


> On Thu, Sep 19, 2013 at 9:06 AM, Koen Vanhees 
> <[email protected]<javascript:>> 
> wrote: 
> > All, 
> > 
> > I have two different authentication techniques in my app (local and AD). 
> > All works well, but that means I have two login forms, and that's pretty 
> > inconvenient. 
> > Is it possible to create a completely custom form, with only a username 
> and 
> > password, and when pressing "Login", having it check against the two 
> defined 
> > authentication methods in the background? 
> > I have been looking for a way to do that, but it doesn't seem to be 
> easy. 
> > Auth comes with predefined forms and I'm kind of lost here. 
> > Any suggestions are welcome! 
> > 
> > Thanks! 
>

/dps
 

-- 
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/groups/opt_out.

Reply via email to