add DISABLE_REGISTRATION to frontendProperties

This commit is contained in:
Yanick 2023-07-13 14:53:00 +02:00 committed by GitHub
parent e676d97b3f
commit edf8e7f8e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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",