mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2025-04-29 08:20:30 +05:30
add DISABLE_REGISTRATION to frontendProperties
This commit is contained in:
parent
e676d97b3f
commit
edf8e7f8e5
@ -175,6 +175,7 @@ public class Constants {
|
|||||||
.map(JsonNodeFactory.instance::textNode).toList()
|
.map(JsonNodeFactory.instance::textNode).toList()
|
||||||
);
|
);
|
||||||
frontendProperties.put("s3Enabled", S3_CLIENT != null);
|
frontendProperties.put("s3Enabled", S3_CLIENT != null);
|
||||||
|
frontendProperties.put("registrationDisabled", DISABLE_REGISTRATION);
|
||||||
|
|
||||||
// transform hibernate properties for legacy configurations
|
// transform hibernate properties for legacy configurations
|
||||||
hibernateProperties.replace("hibernate.dialect",
|
hibernateProperties.replace("hibernate.dialect",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user