Show your controller and view code.

On Friday, August 9, 2013 11:09:24 AM UTC-4, Koen Vanhees wrote:
>
> All,
>
> I have an application which uses two different authentication methods: 
> through AD and locally.  If I put these login methods on two different 
> pages, everything works smoothly, but of course it's kind of annoying to 
> browse to a different page depending on the login method of choice.
>
> Therefore I try to put both login forms on one page, and add a selection 
> list which determines which login form to display.  The controller returns 
> the two forms, and looking at the response, that's working well.
> However, the forms are never rendered in the page.  Also, the url changes 
> from .../default/testpage?authtype=AD to 
> ../default/testpage/login?authtype=AD.  
> I feel like I'm approaching this issue completely wrongly.  Any ideas are 
> very welcome.
>
> Many thanks!
>
>

-- 

--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to