I've never had this problem before, but for some reason since i containerised by project with Docker, a super simple login view, ```py
@views.route("/login", methods=["GET", "POST"])
def login():
print("a")
if request.method == "POST":
print("b")
email = request.form.get("email")
password = request.form.get("password")
user = User.query.filter_by(email=email).first()
if user:
print(user.password, password)
if check_password_hash(user.password, password):
login_user(user, remember=True)
return redirect(url_for("views.account"))
else:
flash("Incorrect email or password", category="error")
else:
flash("No account with this email found. Please create an account", category="error")
return render_template("login.html", user=current_user)```
neither a or b are getting printed, but the program is failing on File "/views.py", line 594, in login if check_password_hash(user.password, password): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I'm not sure why this is happening as the database is populated with data