Shane Kilkelly 10 лет назад
Родитель
Сommit
a6b8bf6ece
1 измененных файлов с 1 добавлено и 2 удалено
  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
 	# Should we allow access to any page without logging in? This includes
 	# public projects, /learn, /templates, about pages, etc.
 	# 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
 	# Use a single compile directory for all users in a project
 	# (otherwise each user has their own directory)
 	# (otherwise each user has their own directory)