Change app login password to nick9924

This commit is contained in:
Nick Tonjum 2026-07-27 21:11:28 -05:00
parent a700774463
commit 8453fd801c

View File

@ -60,8 +60,9 @@ CREATE TABLE IF NOT EXISTS Transactions (
)
""")
pw_hash = bcrypt.hashpw('nick9924Tucker9924##'.encode(), bcrypt.gensalt()).decode()
pw_hash = bcrypt.hashpw('nick9924'.encode(), bcrypt.gensalt()).decode()
cursor.execute("INSERT IGNORE INTO Users (Username, PasswordHash) VALUES (%s, %s)", ('nick', pw_hash))
cursor.execute("UPDATE Users SET PasswordHash = %s WHERE Username = %s", (pw_hash, 'nick'))
conn.commit()
cursor.close()