Mercurial Hosting > nabble
changeset 3:1010f557927f
allow setting salt for backup file
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 25 Mar 2019 18:38:18 -0600 |
parents | abe0694e9849 |
children | e79c7d4dcd7a |
files | src/nabble/model/SiteImpl.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
diff -r abe0694e9849 -r 1010f557927f src/nabble/model/SiteImpl.java --- a/src/nabble/model/SiteImpl.java Mon Mar 25 13:59:13 2019 -0600 +++ b/src/nabble/model/SiteImpl.java Mon Mar 25 18:38:18 2019 -0600 @@ -1061,7 +1061,7 @@ siteGlobal.getDbRecord().delete(); } - private static final String SALT = "zDf3s"; + private static final String SALT = Init.get("salt","zDf3s"); private static final File schemaDir = new File((String)Init.get("home_dir")+"local/schemas/"); private static File getBackupFile(long siteId) {