mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-31 04:31:34 +00:00
check that nav.header is configured
This commit is contained in:
parent
d06b8ec688
commit
68e4df72df
1 changed files with 2 additions and 2 deletions
|
@ -425,7 +425,7 @@ if process.env["SHARELATEX_LDAP_HOST"]
|
||||||
rejectUnauthorized: process.env["SHARELATEX_LDAP_TLS_OPTS_REJECT_UNAUTH"] == "true"
|
rejectUnauthorized: process.env["SHARELATEX_LDAP_TLS_OPTS_REJECT_UNAUTH"] == "true"
|
||||||
ca:ca_paths # e.g.'/etc/ldap/ca_certs.pem'
|
ca:ca_paths # e.g.'/etc/ldap/ca_certs.pem'
|
||||||
|
|
||||||
if settings.externalAuth
|
if settings.externalAuth and settings?.nav?.header?
|
||||||
results = []
|
results = []
|
||||||
for button in settings.nav.header
|
for button in settings.nav.header
|
||||||
if button.url != "/register"
|
if button.url != "/register"
|
||||||
|
|
Loading…
Reference in a new issue