Merge pull request #645 from ItzYanick/master

add DISABLE_REGISTRATION to frontendProperties
This commit is contained in:
Kavin 2023-07-13 16:36:51 +01:00 committed by GitHub
commit f44f55e339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ public class Constants {
.map(JsonNodeFactory.instance::textNode).toList()
);
frontendProperties.put("s3Enabled", S3_CLIENT != null);
frontendProperties.put("registrationDisabled", DISABLE_REGISTRATION);
// transform hibernate properties for legacy configurations
hibernateProperties.replace("hibernate.dialect",