Commit bc8ec015 authored by Dave Cridland's avatar Dave Cridland Committed by GitHub

Merge pull request #631 from surevine/lockoutnull

OF-1156 Do not store null LockOutFlag in Cache
parents c37b639f 52af9322
...@@ -249,7 +249,7 @@ public class LockOutManager { ...@@ -249,7 +249,7 @@ public class LockOutManager {
// If group wan't found in cache, load it up and put it there. // If group wan't found in cache, load it up and put it there.
if (flag == null) { if (flag == null) {
flag = provider.getDisabledStatus(username); 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