Reconcile verified account IDs and make language repairs observable
Magent CI/CD / verify (push) Successful in 1m50s
Magent CI/CD / deploy-prod (push) Skipped
Magent CI/CD / deploy-beta (push) Skipped

This commit is contained in:
2026-09-11 19:56:32 +12:00
parent 38169b881e
commit de25255ea8
25 changed files with 593 additions and 160 deletions
+4
View File
@@ -1078,6 +1078,10 @@ def create_user_if_missing(
if any(str(row[0]).strip().casefold() == username.casefold()
for row in conn.execute("SELECT username FROM users")):
return False
if jellyseerr_user_id is not None and conn.execute(
"SELECT 1 FROM users WHERE jellyseerr_user_id=?", (jellyseerr_user_id,)
).fetchone():
return False
cursor = conn.execute(
"""
INSERT OR IGNORE INTO users (