فهرست منبع

Show register button on OL v2

James Allen 8 سال پیش
والد
کامیت
19b97e953f
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      services/web/app/coffee/infrastructure/Features.coffee

+ 1 - 1
services/web/app/coffee/infrastructure/Features.coffee

@@ -9,7 +9,7 @@ module.exports = Features =
 			when 'homepage'
 			when 'homepage'
 				return Settings.enableHomepage
 				return Settings.enableHomepage
 			when 'registration'
 			when 'registration'
-				return not Features.externalAuthenticationSystemUsed()
+				return not Features.externalAuthenticationSystemUsed() or Settings.overleaf?
 			when 'github-sync'
 			when 'github-sync'
 				return Settings.enableGithubSync
 				return Settings.enableGithubSync
 			when 'v1-return-message'
 			when 'v1-return-message'