minor fixes

This commit is contained in:
Daniel Hougaard
2025-07-08 22:21:29 +04:00
parent e77911f574
commit be924f23e6
3 changed files with 2 additions and 29 deletions
+2 -1
View File
@@ -364,9 +364,10 @@ export const initEnvConfig = async (superAdminDAL?: TSuperAdminDALFactory, logge
if (fipsEnabled) {
const newEnvCfg = {
...envCfg,
...parsedEnv.data,
ROOT_ENCRYPTION_KEY: envCfg.ENCRYPTION_KEY
};
delete newEnvCfg.ENCRYPTION_KEY;
envCfg = Object.freeze(newEnvCfg);