Commit df6d8851 by Dominik Prokop Committed by GitHub

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

parent 0a786524
......@@ -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',
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment