From df6d8851d0f746f98a4187854184e36f0e7f7475 Mon Sep 17 00:00:00 2001 From: Dominik Prokop Date: Wed, 6 Nov 2019 16:38:54 +0100 Subject: [PATCH] OAuth: Make the login button display name of custom OAuth provider (#20209) --- public/app/core/components/Login/LoginServiceButtons.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/core/components/Login/LoginServiceButtons.tsx b/public/app/core/components/Login/LoginServiceButtons.tsx index adc4bae55dc..d85612bb655 100644 --- a/public/app/core/components/Login/LoginServiceButtons.tsx +++ b/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', },