Explorar o código

Undo debug change

Shane Kilkelly %!s(int64=10) %!d(string=hai) anos
pai
achega
a6b8bf6ece
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      services/web/config/settings.defaults.coffee

+ 1 - 2
services/web/config/settings.defaults.coffee

@@ -266,8 +266,7 @@ module.exports = settings =
 	
 	# Should we allow access to any page without logging in? This includes
 	# public projects, /learn, /templates, about pages, etc.
-	# allowPublicAccess: if process.env["SHARELATEX_ALLOW_PUBLIC_ACCESS"] == 'true' then true else false
-	allowPublicAccess: true
+	allowPublicAccess: if process.env["SHARELATEX_ALLOW_PUBLIC_ACCESS"] == 'true' then true else false
 
 	# Use a single compile directory for all users in a project
 	# (otherwise each user has their own directory)