Commit 6faea9ba authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added double check to ignore non-authenticated sessions.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6782 b35dd754-fafc-0310-a699-88a17e54d16e
parent 253c396f
...@@ -233,6 +233,10 @@ ...@@ -233,6 +233,10 @@
boolean current = false; // needed in session-row.jspf boolean current = false; // needed in session-row.jspf
String linkURL = "session-details.jsp"; String linkURL = "session-details.jsp";
for (ClientSession sess : sessions) { for (ClientSession sess : sessions) {
if (sess.getAuthToken() == null) {
// Double check: Ignore non-authenticated sessions
continue;
}
count++; count++;
%> %>
<%@ include file="session-row.jspf" %> <%@ include file="session-row.jspf" %>
......
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