Move the filtering-out of /register links to web

This commit is contained in:
Shane Kilkelly 2016-12-21 13:51:05 +00:00
parent 4bf529ef9b
commit 453311136f

View file

@ -559,13 +559,6 @@ if process.env["SHARELATEX_SAML_ENTRYPOINT"]
undefined 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 # Compiler
# -------- # --------