fixed bad coffeescript in settings file

This commit is contained in:
Henry Oswald 2016-05-23 13:26:45 +01:00
parent 576efb8ebf
commit 1a478d49db

View file

@ -423,7 +423,7 @@ settings =
if process.env["SHARELATEX_EMAIL_FROM_ADDRESS"] if process.env["SHARELATEX_EMAIL_FROM_ADDRESS"]
settings.email: settings.email =
fromAddress: process.env["SHARELATEX_EMAIL_FROM_ADDRESS"] fromAddress: process.env["SHARELATEX_EMAIL_FROM_ADDRESS"]
replyTo: process.env["SHARELATEX_EMAIL_REPLY_TO"] or "" replyTo: process.env["SHARELATEX_EMAIL_REPLY_TO"] or ""
parameters: parameters:
@ -446,7 +446,7 @@ if process.env["SHARELATEX_EMAIL_FROM_ADDRESS"]
# opts are from http://antelle.github.io/passfield # opts are from http://antelle.github.io/passfield
if process.env["SHARELATEX_PASSWORD_VALIDATION_PATTERN"] or process.env["SHARELATEX_PASSWORD_VALIDATION_MIN_LENGTH"] or process.env["SHARELATEX_PASSWORD_VALIDATION_MAX_LENGTH"] if process.env["SHARELATEX_PASSWORD_VALIDATION_PATTERN"] or process.env["SHARELATEX_PASSWORD_VALIDATION_MIN_LENGTH"] or process.env["SHARELATEX_PASSWORD_VALIDATION_MAX_LENGTH"]
settings.passwordStrengthOptions: settings.passwordStrengthOptions =
pattern: process.env["SHARELATEX_PASSWORD_VALIDATION_PATTERN"] or "aA$3" pattern: process.env["SHARELATEX_PASSWORD_VALIDATION_PATTERN"] or "aA$3"
length: {min:process.env["SHARELATEX_PASSWORD_VALIDATION_MIN_LENGTH"] or 8, max: process.env["SHARELATEX_PASSWORD_VALIDATION_MAX_LENGTH"] or 50} length: {min:process.env["SHARELATEX_PASSWORD_VALIDATION_MIN_LENGTH"] or 8, max: process.env["SHARELATEX_PASSWORD_VALIDATION_MAX_LENGTH"] or 50}
@ -467,7 +467,7 @@ if process.env["SHARELATEX_PASSWORD_VALIDATION_PATTERN"] or process.env["SHARELA
if process.env["SHARELATEX_LDAP_HOST"] if process.env["SHARELATEX_LDAP_HOST"]
settings.ldap : settings.ldap =
host: process.env["SHARELATEX_LDAP_HOST"] host: process.env["SHARELATEX_LDAP_HOST"]
dn: process.env["SHARELATEX_LDAP_DN"] dn: process.env["SHARELATEX_LDAP_DN"]
baseSearch: process.env["SHARELATEX_LDAP_BASE_SEARCH"] baseSearch: process.env["SHARELATEX_LDAP_BASE_SEARCH"]
@ -486,7 +486,6 @@ if process.env["SHARELATEX_LDAP_HOST"]
# Compiler # Compiler
# -------- # --------
if process.env["DOCKER_IN_DOCKER"] if process.env["DOCKER_IN_DOCKER"]
clsi: clsi:
commandRunner: "docker-runner-sharelatex" commandRunner: "docker-runner-sharelatex"