From d1f4334df158a9e40893974575c1ccf875006721 Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Wed, 21 Dec 2016 13:51:05 +0000 Subject: [PATCH] Move the filtering-out of `/register` links to web --- settings.coffee | 7 ------- 1 file changed, 7 deletions(-) diff --git a/settings.coffee b/settings.coffee index b5d74c701d..58f83c5def 100644 --- a/settings.coffee +++ b/settings.coffee @@ -559,13 +559,6 @@ if process.env["SHARELATEX_SAML_ENTRYPOINT"] undefined ) -if settings.externalAuth and settings?.nav?.header? - results = [] - for button in settings.nav.header - if button.url != "/register" - results.push(button) - settings.nav.header = results - # Compiler # --------