mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-10 14:47:20 +00:00
Ensure consistent ordering
This commit is contained in:
@@ -987,7 +987,7 @@ SOCIAL_BACKENDS = get_setting(
|
||||
)
|
||||
|
||||
DEFAULT_SOCIAL = ['saml', 'openid_connect']
|
||||
_SOCIAL_BACKENDS = {*DEFAULT_SOCIAL, *SOCIAL_BACKENDS}
|
||||
_SOCIAL_BACKENDS = list(dict.fromkeys([*DEFAULT_SOCIAL, *SOCIAL_BACKENDS]))
|
||||
|
||||
# region auth
|
||||
for app in _SOCIAL_BACKENDS: # pragma: no cover
|
||||
|
||||
Reference in New Issue
Block a user