modified: app.py

modified:   pos_database.db
This commit is contained in:
2026-02-25 23:36:33 -03:00
parent 4802923727
commit 9c4654038e
2 changed files with 1 additions and 1 deletions

2
app.py
View File

@@ -35,7 +35,7 @@ def init_db():
# Default user: admin / Pass: seki123 # Default user: admin / Pass: seki123
user = conn.execute('SELECT * FROM users WHERE username = ?', ('admin',)).fetchone() user = conn.execute('SELECT * FROM users WHERE username = ?', ('admin',)).fetchone()
if not user: if not user:
hashed_pw = generate_password_hash('seki123') hashed_pw = generate_password_hash('choripan1234')
conn.execute('INSERT INTO users (username, password) VALUES (?, ?)', ('admin', hashed_pw)) conn.execute('INSERT INTO users (username, password) VALUES (?, ?)', ('admin', hashed_pw))
conn.commit() conn.commit()

Binary file not shown.