Skip to content

Commit

Permalink
updated enter calories and wrong password
Browse files Browse the repository at this point in the history
  • Loading branch information
Viggy12126 committed Oct 9, 2023
1 parent 1c8bc61 commit 4bd7560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4bd7560

Please sign in to comment.