fixed db problem

This commit is contained in:
2026-06-03 16:15:09 -04:00
parent 820ae5d50a
commit bc4f38726a
7 changed files with 49 additions and 2 deletions
+2
View File
@@ -147,6 +147,8 @@ def _create_default_user_if_missing(username, password, role):
def _ensure_default_users():
if count_users() > 0:
print("[server] Users already exist, skipping default account seeding.")
if count_users() == 0:
print("[server] No users found. Seeding default accounts...")