Add authentication history (#16408)

This commit is contained in:
Eugen Rochko 2021-06-21 17:07:30 +02:00 committed by GitHub
parent 946200b471
commit d174d12c83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 206 additions and 21 deletions

View file

@ -1,5 +1,7 @@
%h3= t 'sessions.title'
%p.muted-hint= t 'sessions.explanation'
%p.muted-hint
= t 'sessions.explanation'
= link_to t('sessions.view_authentication_history'), settings_login_activities_path
%hr.spacer/
@ -29,3 +31,4 @@
%td
- if current_session.session_id != session.session_id && !current_account.suspended?
= table_link_to 'times', t('sessions.revoke'), settings_session_path(session), method: :delete