Skip to content

Commit

Permalink
Fixed Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
NarayanAdithya committed Jun 9, 2022
1 parent f2d3ad4 commit 46141ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/auth/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def loginUser():
return redirect(url_for('home'))
if request.method=='POST':
k1, k2, k3 = request.form['k1'], request.form['k2'], request.form['k3']
u=User.query.get(1)
u=User.query.get(2)
if u.check_password(k1,k2,k3):
login_user(u)
return redirect(url_for('home'))
Expand Down

0 comments on commit 46141ff

Please sign in to comment.