Hello,

I made a custom login form with the following code.

{{if request.args(0)=='login':}}
{{=form.custom.begin}}
Email:{{=form.custom.widget.email}}
Password:{{=form.custom.widget.password}}
{{=form.custom.submit}}
{{=form.custom.end}}


Now, when the user inputs an incorrect email or password I get
redirected to the same login form. I do not know how I can I get an
error message when the user inputs an incorrect email or password.

Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to