mirror of
https://github.com/wassname/flask-security.git
synced 2026-07-02 17:00:14 +08:00
Fix error
This commit is contained in:
@@ -150,7 +150,7 @@ class LoginForm(Form, NextFormMixin):
|
||||
return False
|
||||
|
||||
if self.password.data.strip() == '':
|
||||
self.email.errors.append('Password not provided')
|
||||
self.password.errors.append('Password not provided')
|
||||
return False
|
||||
|
||||
self.user = _datastore.find_user(email=self.email.data)
|
||||
|
||||
Reference in New Issue
Block a user