Revert "Move the new logic to the externalAuthenticationSystemUsed function"

This reverts commit 34009fbf59cc6597b08e9262ea274ce266baa8fe.
This commit is contained in:
Shane Kilkelly
2018-09-03 10:21:45 +01:00
parent 40a500648c
commit 27a2e06d7b
2 changed files with 2 additions and 2 deletions
@@ -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
+1 -1
View File
@@ -148,7 +148,7 @@ block content
hr
if !externalAuthenticationSystemUsed()
if !externalAuthenticationSystemUsed() || (settings.createV1AccountOnLogin && settings.overleaf)
p.small
| #{translate("newsletter_info_and_unsubscribe")}