fix FormLoginProcessor checkpointing

This commit is contained in:
Noah Levitt
2014-04-02 17:33:09 -07:00
parent 20350091af
commit 36a207ce07
@@ -294,8 +294,8 @@ public class FormLoginProcessor extends Processor implements Checkpointable {
@Override
protected JSONObject toCheckpointJson() throws JSONException {
JSONObject json = super.toCheckpointJson();
json.put("eligibleFormsAttemptsCount", eligibleFormsAttemptsCount);
json.put("eligibleFormsSeenCount", eligibleFormsSeenCount);
json.put("eligibleFormsAttemptsCount", eligibleFormsAttemptsCount.asMap());
json.put("eligibleFormsSeenCount", eligibleFormsSeenCount.asMap());
return json;
}