mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Move the filtering-out of /register
links to web
This commit is contained in:
parent
4bf529ef9b
commit
453311136f
1 changed files with 0 additions and 7 deletions
|
@ -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
|
||||||
# --------
|
# --------
|
||||||
|
|
Loading…
Reference in a new issue