From 4bd7560eb26940fcbff810a13ced2d43dd0466d5 Mon Sep 17 00:00:00 2001 From: Viggy12126 Date: Mon, 9 Oct 2023 17:59:19 -0400 Subject: [PATCH] updated enter calories and wrong password --- application.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application.py b/application.py index 95ee0970..ba51d99d 100644 --- a/application.py +++ b/application.py @@ -59,7 +59,7 @@ def login(): if temp is not None and temp['email'] == form.email.data and ( bcrypt.checkpw( form.password.data.encode("utf-8"), - temp['pwd']) or temp['temp'] == form.password.data): + temp['pwd']) or temp['pwd'] == form.password.data): flash('You have been logged in!', 'success') session['email'] = temp['email'] #session['login_type'] = form.type.data