diff --git a/server/views/auth/login.pug b/server/views/auth/login.pug index ad860349..d758407d 100644 --- a/server/views/auth/login.pug +++ b/server/views/auth/login.pug @@ -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')