feat: add initDataNewOnly to app.conf to skip overriding existing data in initDataFromFile() (#3294)

* feat: support control whether overwrite existing data during initDataFromFile

* feat: change conf var name

* feat: change conf var name
This commit is contained in:
DacongDA
2024-10-17 23:36:16 +08:00
committed by Yang Luo
parent 6f1f93725e
commit 95e8bdcd36
2 changed files with 75 additions and 1 deletions

View File

@ -29,5 +29,6 @@ radiusServerPort = 1812
radiusSecret = "secret"
quota = {"organization": -1, "user": -1, "application": -1, "provider": -1}
logConfig = {"filename": "logs/casdoor.log", "maxdays":99999, "perm":"0770"}
initDataNewOnly = false
initDataFile = "./init_data.json"
frontendBaseDir = "../casdoor"
frontendBaseDir = "../cc_0"