mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-27 23:27:31 +00:00
fix(login): name the SSO button SSO when the provider has no display name, as OIDC-only does
This commit is contained in:
@@ -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 && (
|
||||
|
||||
Reference in New Issue
Block a user