automated commit by check50 [check50=True]

This commit is contained in:
kukemuna 2024-04-25 23:54:49 +03:00
parent 0e5f4507bd
commit f12011707e
3 changed files with 1 additions and 1 deletions

2
app.py
View File

@ -209,7 +209,7 @@ def register():
if username_exists: if username_exists:
flash("Username exists already!") flash("Username exists already!")
return render_template("register.html") return apology("username already exists!", 400)
db.execute("INSERT INTO users(username, hash) VALUES(?, ?)", db.execute("INSERT INTO users(username, hash) VALUES(?, ?)",
username, generate_password_hash(password)) username, generate_password_hash(password))

Binary file not shown.