OAuth: Make the login button display name of custom OAuth provider (#20209)

pull/20220/head
Dominik Prokop 6 years ago committed by GitHub
parent 0a78652404
commit df6d8851d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      public/app/core/components/Login/LoginServiceButtons.tsx

@ -28,7 +28,7 @@ const loginServices: () => LoginServices = () => ({
},
oauth: {
enabled: config.oauth.generic_oauth,
name: 'OAuth',
name: config.oauth.generic_oauth ? config.oauth.generic_oauth.name : 'OAuth',
icon: 'sign-in',
hrefName: 'generic_oauth',
},

Loading…
Cancel
Save