Skip to content
Snippets Groups Projects
Commit 4e717481 authored by Paul-Christian Volkmer's avatar Paul-Christian Volkmer
Browse files

Do not send response if session is inactive.

parent b68b95cb
Branches
Tags
No related merge requests found
......@@ -31,7 +31,10 @@ public class SessionService implements ISessionService {
if (results.getJSONArray("rows").optJSONObject(0) == null) return null;
Session result = (Session)JSONObject.toBean(results.getJSONArray("rows").optJSONObject(0).optJSONObject("value"), Session.class);
return result;
if (result.isActive()) return result;
return null;
}
}
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