bug5333: don't store updates to replicable cache and user store while injecting initial load into SecurityService

This commit is contained in:
Axel Uhl
2022-02-21 22:24:58 +01:00
parent 0a9dec7bae
commit 480235ab92
2 changed files with 6 additions and 6 deletions
@@ -1193,7 +1193,7 @@ public class UserStoreImpl implements UserStore {
}
userMap.put(key, value);
}
if (mongoObjectFactory != null) {
if (store && mongoObjectFactory != null) {
mongoObjectFactory.storePreferences(username, userMap);
}
}