Reconcile verified account IDs and make language repairs observable
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user