aboutsummaryrefslogtreecommitdiff
path: root/app/forms
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2021-06-04 00:06:28 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2021-06-04 00:06:28 +0530
commita3b38a5c327ba45515c75efccbd18e813c27aad0 (patch)
tree8de04d697f0489c0ce411d700470d17a83c073eb /app/forms
parent0c4f67c51846815fbd080ded7de740f57fcde506 (diff)
added user sign in
Diffstat (limited to 'app/forms')
-rw-r--r--app/forms/app_forms.py4
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