[#6212] don't show login stats if the system doesn't record them (alternate auth system)
diff --git a/ForgeUserStats/forgeuserstats/templates/index.html b/ForgeUserStats/forgeuserstats/templates/index.html
index 406fb20..d171677 100644
--- a/ForgeUserStats/forgeuserstats/templates/index.html
+++ b/ForgeUserStats/forgeuserstats/templates/index.html
@@ -76,7 +76,7 @@
         </tr>
       </thead>
       <tbody>
-        {% if not category %}
+        {% if not category and last_login %}
           <tr>
             <td>Logins</td>
             <td>{{totlogins}}</td>