Thanks Massimo,

Your suggestion was perfect, It works fine now. I have been battling
with this for over two days. Thanks

Winston

On Sep 8, 10:00 pm, mdipierro <[email protected]> wrote:
> Guesshing without looking at the entire code...
> The problem may be that you cannot have to login forms in the same
> page (one in layout.html and one in yourview.html). You need to add
> some checks to prevent it.
>
> Massimo
>
> On Sep 8, 1:45 pm, eddwinston <[email protected]> wrote:
>
> > I have this line on my view to place a login form on the page at all
> > times if the user is not authenticated:
> >      {{if not auth.is_logged_in(): response.write(auth.login()) }}
> >      {{pass}}
>
> > The problem is, if those two lines are on the view, the login does not
> > work at all, that is, if i enter email and password, nothing happens.
> > But if I delete those two lines, the login works. Can someone please
> > help?
>
> > Thanks
> > Winston
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to