Commit 52af9322 authored by Dave Cridland's avatar Dave Cridland

OF-1156 Do not store null LockOutFlag in Cache

The LockOutManager stores a null LockOutFlag (the default) in the cache,
which shouldn't work (and doesn't in a cluster).
parent b662b0be
......@@ -249,7 +249,7 @@ public class LockOutManager {
// If group wan't found in cache, load it up and put it there.
if (flag == null) {
flag = provider.getDisabledStatus(username);
lockOutCache.put(username, flag);
if (flag != null) lockOutCache.put(username, flag);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment