mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-22 17:46:57 +00:00
Revert "Move the new logic to the externalAuthenticationSystemUsed
function"
This reverts commit 34009fbf59cc6597b08e9262ea274ce266baa8fe.
This commit is contained in:
parent
40a500648c
commit
27a2e06d7b
2 changed files with 2 additions and 2 deletions
services/web/app
|
@ -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")}
|
||||
|
|
Loading…
Add table
Reference in a new issue