From cd01a4459d8598e0d1b7ff33b7f3b83641d5ef86 Mon Sep 17 00:00:00 2001 From: Keturah Dola-Borg Date: Thu, 2 Apr 2020 21:40:52 -0700 Subject: [PATCH] Fix login page variable name Signed-off-by: prichier --- pages/login.tmpl | 40 +++++++--------------------------------- 1 file changed, 7 insertions(+), 33 deletions(-) diff --git a/pages/login.tmpl b/pages/login.tmpl index ed5b1cf..88a7b2b 100644 --- a/pages/login.tmpl +++ b/pages/login.tmpl @@ -3,38 +3,9 @@ {{end}} @@ -46,7 +17,7 @@ hr.short { {{range .Flashes}}
  • {{.}}
  • {{end}} {{end}} - {{ if or .OauthSlack .OauthWriteAs .OauthGitlab }} + {{ if or .OauthSlack .OauthWriteAs .OauthGitlab .OauthGeneric }}
    {{ if .OauthSlack }} Sign in with Slack @@ -57,6 +28,9 @@ hr.short { {{ if .OauthGitlab }} Sign in with {{.GitlabDisplayName}} {{ end }} + {{ if .OauthGeneric }} + Sign in with {{ .OauthGenericDisplayName }} + {{ end }}