diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/sessions/components/OAuthProviders.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/sessions/components/OAuthProviders.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/sessions/components/OAuthProviders.tsx b/server/sonar-web/src/main/js/apps/sessions/components/OAuthProviders.tsx index 987d65843cc..81965779b4f 100644 --- a/server/sonar-web/src/main/js/apps/sessions/components/OAuthProviders.tsx +++ b/server/sonar-web/src/main/js/apps/sessions/components/OAuthProviders.tsx @@ -38,7 +38,7 @@ export default function OAuthProviders(props: Props) { const formatFunction = props.formatLabel || defaultFormatLabel; return ( <Container className={classNames('oauth-providers', props.className)}> - {props.identityProviders.map(identityProvider => ( + {props.identityProviders.map((identityProvider) => ( <OAuthProvider format={formatFunction} identityProvider={identityProvider} @@ -66,7 +66,8 @@ function OAuthProvider({ format, identityProvider, returnTo }: ItemProps) { url={ `${getBaseUrl()}/sessions/init/${identityProvider.key}` + `?return_to=${encodeURIComponent(returnTo)}` - }> + } + > <span>{format(identityProvider.name)}</span> </IdentityProviderLink> {identityProvider.helpMessage && ( |