rm redundancy

This commit is contained in:
Ludy87 2025-08-08 21:48:19 +02:00
parent f3df91e7d5
commit fa5398e0a2
No known key found for this signature in database
GPG Key ID: 92696155E0220F94

View File

@ -63,9 +63,7 @@ public class InitialSetup {
"0.46.0", applicationProperties.getAutomaticallyGenerated().getAppVersion())) {
boolean csrf = applicationProperties.getSecurity().isCsrfDisabled();
if (!csrf) {
GeneralUtils.saveKeyToSettings("security.csrfDisabled", false);
GeneralUtils.saveKeyToSettings("system.enableAnalytics", true);
applicationProperties.getSecurity().setCsrfDisabled(false);
}
}
}