mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Introduce an environment variable to control user creation in OIDC authentication, closes #47
This commit is contained in:
@@ -53,7 +53,7 @@ const Features = {
|
||||
case 'registration-page':
|
||||
return (
|
||||
!Features.externalAuthenticationSystemUsed() ||
|
||||
Boolean(Settings.overleaf)
|
||||
Boolean(Settings.overleaf) || Settings.oidc?.disableJITAccountCreation
|
||||
)
|
||||
case 'registration':
|
||||
return Boolean(Settings.overleaf)
|
||||
|
||||
Reference in New Issue
Block a user