Skip to content

Commit

Permalink
Fix login page redirected from password reset (grafana#24032)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderzobnin authored Apr 29, 2020
1 parent 670c96a commit afc7833
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/app/core/components/Login/LoginServiceButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const loginServices: () => LoginServices = () => {
name: 'Google',
},
azuread: {
enabled: config.oauth.azuread,
enabled: oauthEnabled && config.oauth.azuread,
name: 'Microsoft',
},
github: {
Expand All @@ -34,7 +34,7 @@ const loginServices: () => LoginServices = () => {
icon: 'grafana_com',
},
okta: {
enabled: config.oauth.okta,
enabled: oauthEnabled && config.oauth.okta,
name: 'Okta',
},
oauth: {
Expand Down

0 comments on commit afc7833

Please sign in to comment.