diff --git a/app/auth/routes.py b/app/auth/routes.py index c5d8f0f..3a90875 100644 --- a/app/auth/routes.py +++ b/app/auth/routes.py @@ -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'))