diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-04 00:06:28 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-04 00:06:28 +0530 |
commit | a3b38a5c327ba45515c75efccbd18e813c27aad0 (patch) | |
tree | 8de04d697f0489c0ce411d700470d17a83c073eb /app/forms | |
parent | 0c4f67c51846815fbd080ded7de740f57fcde506 (diff) |
added user sign in
Diffstat (limited to 'app/forms')
-rw-r--r-- | app/forms/app_forms.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/forms/app_forms.py b/app/forms/app_forms.py index 2e2991d..005b53a 100644 --- a/app/forms/app_forms.py +++ b/app/forms/app_forms.py @@ -14,3 +14,7 @@ class UserSignUp(FlaskForm): last_name = StringField('Last Name') email = EmailField('Email',validators=[DataRequired(),Email()]) password = PasswordField('Password',validators=[DataRequired()]) + +class UserLogIn(FlaskForm): + email = EmailField('Email',validators=[DataRequired()]) + password = PasswordField('Password',validators=[DataRequired()])
\ No newline at end of file |