Commit 2a1e22f2 authored by Henry Oswald's avatar Henry Oswald Committed by GitHub

remove underscore from settings.coffee

parent efe0e8f8
Path = require('path')
_ = require("underscore")
# These credentials are used for authenticating api requests
# between services that may need to go over public channels
......@@ -427,8 +426,13 @@ if process.env["SHARELATEX_LDAP_HOST"]
ca:ca_paths # e.g.'/etc/ldap/ca_certs.pem'
if settings.externalAuth
settings.nav.header = _.filter settings.nav.header, (button)-> button.url != "/register"
results = []
for button in settings.nav.header
if button.url != "/register"
results.push(button)
settings.nav.header = results
# Compiler
# --------
if process.env["SANDBOXED_COMPILES"] == "true"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment