I use the piece of code below to generate a login form:

def login():
    auth.settings.formstyle = 'divs'
    
    login_form = auth.login(next=URL('default', 'test'))

    return dict(login_form=login_form)

The form is called in the view and works great. I can login using correct 
data. If the password is wrong and the email is right - a proper error is 
displayed.

However, if I use an email which does not exist in auth_user and then 
submit the form - the page reloads and nothing happens. Shouldn't there be 
a built-in error message displayed, saying that such email (user) does not 
exist? Am I doing someting wrong?

-- 

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