mirror of
https://github.com/wassname/flask-security.git
synced 2026-10-02 12:10:40 +08:00
Fix error
This commit is contained in:
1 parent
e1dbed816c
commit
6b80aae7d1
1 file changed
+1
-1
@@ -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