events: rename token_view to secret_view

This commit is contained in:
Jens Langhammer
2021-02-09 18:18:36 +01:00
parent f8bcdb26b3
commit 71c9108f89
6 changed files with 137 additions and 9 deletions

View File

@ -89,7 +89,7 @@ export class EventInfo extends LitElement {
return html`
<h3>${gettext(`Attempted to log in as ${this.event.context.username}`)}</h3>
<ak-expand>${this.defaultResponse()}</ak-expand>`;
case "token_view":
case "secret_view":
return html`
<h3>${gettext("Token:")}</h3>
${this.getModelInfo(this.event.context.token as EventContext)}`;