diff --git a/app/assets/javascripts/discourse/templates/preferences/account.hbs b/app/assets/javascripts/discourse/templates/preferences/account.hbs index a99d9c57f45..276caf9c0f0 100644 --- a/app/assets/javascripts/discourse/templates/preferences/account.hbs +++ b/app/assets/javascripts/discourse/templates/preferences/account.hbs @@ -161,74 +161,6 @@ {{/if}} -{{#if canCheckEmails}} -
- - {{d-icon "sign-out"}} {{i18n 'user.auth_tokens.logout'}} - {{#each model.user_auth_tokens as |token|}} - -
-
- {{d-icon token.icon}} {{token.device_name}} - {{#if token.visible}} - {{d-icon "angle-double-up"}} - {{else}} - {{d-icon "angle-double-down"}} - {{/if}} -
-
- {{token.client_ip}} — {{format-date token.seen_at}} -
-
- {{#if token.visible}} -
-
-
{{i18n 'user.auth_tokens.ip_address'}}
-
{{token.client_ip}}
-
-
-
{{i18n 'user.auth_tokens.first_seen'}}
-
{{format-date token.created_at}}
-
-
-
{{i18n 'user.auth_tokens.last_seen'}}
-
{{format-date token.seen_at}}
-
-
-
{{i18n 'user.auth_tokens.operating_system'}}
-
{{token.os}}
-
-
- {{/if}} -
- {{/each}} -
-{{/if}} - -{{#if canCheckEmails}} - {{#if model.staff}} -
- - {{#if model.user_auth_token_logs}} - - - - - - - {{#each model.user_auth_token_logs as |token|}} - - - - - - {{/each}} -
{{i18n 'user.auth_tokens.ip_address'}}{{i18n 'user.auth_tokens.created'}}{{i18n 'user.auth_tokens.operating_system'}}
{{token.client_ip}}{{format-date token.created_at}}{{d-icon token.icon}} {{token.os}}
- {{/if}} -
- {{/if}} -{{/if}} - {{plugin-outlet name="user-preferences-account" args=(hash model=model save=(action "save"))}}