This commit is contained in:
新新 committed 2026-04-27 17:03:56 +08:00
commit fe636432d0
154 files changed
+30381

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
from __future__ import annotations
PRIMARY_SUPER_ADMIN_USERNAME = "admin"
def is_primary_super_admin_username(username: str | None) -> bool:
return (username or "").strip().lower() == PRIMARY_SUPER_ADMIN_USERNAME