aboutsummaryrefslogtreecommitdiff
path: root/internal/context/context.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/context/context.go')
-rw-r--r--internal/context/context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/context/context.go b/internal/context/context.go
index 65614362..3504ad71 100644
--- a/internal/context/context.go
+++ b/internal/context/context.go
@@ -323,7 +323,7 @@ func Contexter() macaron.Handler {
log.Trace("Session ID: %s", sess.ID())
log.Trace("CSRF Token: %v", c.Data["CSRFToken"])
- c.Data["ShowRegistrationButton"] = conf.Service.ShowRegistrationButton
+ c.Data["ShowRegistrationButton"] = !conf.Auth.DisableRegistration
c.Data["ShowFooterBranding"] = conf.ShowFooterBranding
c.renderNoticeBanner()