app/views/quo_vadis/sessions/index.html.erb in quo_vadis-2.1.4 vs app/views/quo_vadis/sessions/index.html.erb in quo_vadis-2.1.5
- old
+ new
@@ -1,17 +1,23 @@
<h1>Sessions</h1>
<table>
<thead>
<tr>
+ <th>Signed in</th>
+ <th>Last seen</th>
+ <th>2FA used</th>
<th>IP</th>
<th>User agent</th>
<th></th>
</tr>
</thead>
<tbody>
<% @qv_sessions.each do |sess| %>
<tr>
+ <td><time datetime="<%= sess.created_at.to_formatted_s(:iso_8601) %>"><%= sess.created_at.to_formatted_s('%-d %B %Y') %></time></td>
+ <td><time datetime="<%= sess.last_seen_at.to_formatted_s(:iso_8601) %>"><%= sess.last_seen_at.to_formatted_s('%-d %B %Y') %></time></td>
+ <td><%= sess.second_factor_authenticated? ? 'Yes' : 'No' %></td>
<td><%= sess.ip %></td>
<td><%= sess.user_agent %></td>
<td>
<% if sess.id == @qv_session.id %>
This session