Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

fix(login): name the SSO button SSO when the provider has no display name, as OIDC-only does

Mauriceefd34df0380d
diff --git a/client/src/pages/login/AppLogin.tsx b/client/src/pages/login/AppLogin.tsx
index 41a093a5d..ed58a8dc2 100644
--- a/client/src/pages/login/AppLogin.tsx
+++ b/client/src/pages/login/AppLogin.tsx
@@ -363,7 +363,7 @@ function OtherWays({ login }: { login: Login }) {
onClick={login.handleSsoClick}
>
<Shield size={18} aria-hidden="true" />
- {t('login.oidcSignIn', { name: config?.oidc_display_name })}
+ {t('login.oidcSignIn', { name: config?.oidc_display_name || 'SSO' })}
</a>
)}
{passkey && (