From 474ac645b14b2a73f10e5a5bf987fb81c0379324 Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Sat, 17 Feb 2018 12:31:06 -0500 Subject: [PATCH] fix: missing oauth2 login button ***NO_CI*** --- server/views/auth/login.pug | 4 ++++ 1 file changed, 4 insertions(+) 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')