fix: missing oauth2 login button

***NO_CI***
pull/398/merge
Nicolas Giard 8 years ago committed by GitHub
parent 69eb527268
commit 474ac645b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -68,6 +68,10 @@ html(data-logic='login')
button.slack(onclick='window.location.assign("/login/slack")')
i.icon-slack
span= t('auth:providers.slack')
if appconfig.auth.oauth2 && appconfig.auth.oauth2.enabled
button.slack(onclick='window.location.assign("/login/oauth2")')
i.icon-box
span= t('auth:providers.oauth2')
#copyright
= t('footer.poweredby') + ' '
a.icon(href='https://github.com/Requarks/wiki')

Loading…
Cancel
Save