Fix login page redirected from password reset (#24032)
(cherry picked from commit afc78339bd)
This commit is contained in:
committed by
Arve Knudsen
parent
e94405a786
commit
97c6efbc0e
@@ -16,7 +16,7 @@ const loginServices: () => LoginServices = () => {
|
||||
name: 'Google',
|
||||
},
|
||||
azuread: {
|
||||
enabled: config.oauth.azuread,
|
||||
enabled: oauthEnabled && config.oauth.azuread,
|
||||
name: 'Microsoft',
|
||||
},
|
||||
github: {
|
||||
@@ -34,7 +34,7 @@ const loginServices: () => LoginServices = () => {
|
||||
icon: 'grafana_com',
|
||||
},
|
||||
okta: {
|
||||
enabled: config.oauth.okta,
|
||||
enabled: oauthEnabled && config.oauth.okta,
|
||||
name: 'Okta',
|
||||
},
|
||||
oauth: {
|
||||
|
||||
Reference in New Issue
Block a user