mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-12-15 18:55:48 -07:00
Fixed Engine-based Authentication APIs
This commit is contained in:
@@ -208,6 +208,8 @@ def _parse_api_groups(raw: Optional[Any]) -> Tuple[str, ...]:
|
||||
else:
|
||||
return tuple()
|
||||
cleaned = [part.lower() for part in parts if part]
|
||||
if "auth" not in cleaned:
|
||||
cleaned.insert(0, "auth")
|
||||
return tuple(dict.fromkeys(cleaned))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user