Skip to content

Commit

Permalink
load provider display name from SSO_CONFIG
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunsi committed Dec 23, 2024
1 parent 9352162 commit db58151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def login_providers():
result = {}

for provider, config in CONFIG["oauth2_providers"].items():
result[provider] = config.get("display_name", provider.capitalize())
result[provider] = SSO_CONFIG[provider]["display_name"]

return {"login_providers": result}

Expand Down

0 comments on commit db58151

Please sign in to comment.