Skip to content
Snippets Groups Projects
Commit 8c0dd33c authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix current session not being displayed in sessions list (#4424)

parent 12874eaf
No related branches found
No related tags found
No related merge requests found
......@@ -19,10 +19,10 @@
%td
%samp= session.ip
%td
- if request.session['auth_id'] == session.session_id
- if current_session.session_id == session.session_id
= t 'sessions.current_session'
- else
%time.time-ago{ datetime: session.updated_at.iso8601, title: l(session.updated_at) }= l(session.updated_at)
%td
- if request.session['auth_id'] != session.session_id
- if current_session.session_id != session.session_id
= table_link_to 'times', t('sessions.revoke'), settings_session_path(session), method: :delete
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment