fix: admin默认显示名改为刘通

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
lanhao
2026-07-02 19:02:28 +08:00
parent 223761e717
commit cb2b37436e
+1 -1
View File
@@ -62,7 +62,7 @@ def init_db():
if not existing: if not existing:
cursor.execute( cursor.execute(
'INSERT INTO users (username, display_name, password_hash, role) VALUES (?, ?, ?, ?)', 'INSERT INTO users (username, display_name, password_hash, role) VALUES (?, ?, ?, ?)',
('simonkoson', '蓝皓', generate_password_hash('liutong65'), 'admin') ('simonkoson', '刘通', generate_password_hash('liutong65'), 'admin')
) )
conn.commit() conn.commit()