From a3b38a5c327ba45515c75efccbd18e813c27aad0 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Fri, 4 Jun 2021 00:06:28 +0530 Subject: added user sign in --- app/forms/app_forms.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/forms/app_forms.py') 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 -- cgit v1.2.3