This reverts commit 34009fbf59cc6597b08e9262ea274ce266baa8fe.
@@ -2,7 +2,7 @@ Settings = require 'settings-sharelatex'
module.exports = Features =
externalAuthenticationSystemUsed: ->
- Settings.ldap? or Settings.saml? or (Settings.overleaf?.oauth? && !Settings.createV1AccountOnLogin)
+ Settings.ldap? or Settings.saml? or Settings.overleaf?.oauth?
hasFeature: (feature) ->
switch feature
@@ -148,7 +148,7 @@ block content
hr
- if !externalAuthenticationSystemUsed()
+ if !externalAuthenticationSystemUsed() || (settings.createV1AccountOnLogin && settings.overleaf)
p.small
| #{translate("newsletter_info_and_unsubscribe")}