2018-06-21 04:27:37 +02:00
|
|
|
<div class="page-header">
|
2018-06-21 21:57:28 +02:00
|
|
|
<h1>{{ "myAccount" | i18n }}</h1>
|
2018-06-21 04:27:37 +02:00
|
|
|
</div>
|
2018-06-21 17:43:50 +02:00
|
|
|
<app-profile></app-profile>
|
2021-11-09 19:24:26 +01:00
|
|
|
<ng-container *ngIf="showChangeEmail">
|
|
|
|
<div class="secondary-header">
|
|
|
|
<h1>{{ "changeEmail" | i18n }}</h1>
|
|
|
|
</div>
|
|
|
|
<app-change-email></app-change-email>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="showChangePassword">
|
|
|
|
<div class="secondary-header">
|
|
|
|
<h1>{{ "changeMasterPassword" | i18n }}</h1>
|
|
|
|
</div>
|
|
|
|
<app-change-password></app-change-password>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="showChangeKdf">
|
|
|
|
<div class="secondary-header">
|
|
|
|
<h1>{{ "encKeySettings" | i18n }}</h1>
|
|
|
|
</div>
|
|
|
|
<app-change-kdf></app-change-kdf>
|
|
|
|
</ng-container>
|
2020-11-10 22:13:42 +01:00
|
|
|
<div class="secondary-header border-0 mb-0">
|
|
|
|
<h1>{{ "apiKey" | i18n }}</h1>
|
|
|
|
</div>
|
|
|
|
<p>
|
|
|
|
{{ "userApiKeyDesc" | i18n }}
|
|
|
|
</p>
|
|
|
|
<button type="button" class="btn btn-outline-secondary" (click)="viewUserApiKey()">
|
|
|
|
{{ "viewApiKey" | i18n }}
|
|
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-outline-secondary" (click)="rotateUserApiKey()">
|
|
|
|
{{ "rotateApiKey" | i18n }}
|
|
|
|
</button>
|
2018-06-26 14:49:45 +02:00
|
|
|
<div class="secondary-header text-danger border-0 mb-0">
|
2018-06-21 21:57:28 +02:00
|
|
|
<h1>{{ "dangerZone" | i18n }}</h1>
|
|
|
|
</div>
|
2018-06-26 14:49:45 +02:00
|
|
|
<div class="card border-danger">
|
|
|
|
<div class="card-body">
|
|
|
|
<p>{{ "dangerZoneDesc" | i18n }}</p>
|
2019-02-21 22:50:37 +01:00
|
|
|
<button type="button" class="btn btn-outline-danger" (click)="deauthorizeSessions()">
|
|
|
|
{{ "deauthorizeSessions" | i18n }}
|
|
|
|
</button>
|
2018-07-18 05:21:23 +02:00
|
|
|
<button type="button" class="btn btn-outline-danger" (click)="purgeVault()">
|
|
|
|
{{ "purgeVault" | i18n }}
|
|
|
|
</button>
|
2019-02-21 22:50:37 +01:00
|
|
|
<button type="button" class="btn btn-outline-danger" (click)="deleteAccount()">
|
|
|
|
{{ "deleteAccount" | i18n }}
|
|
|
|
</button>
|
2018-06-26 14:49:45 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-06-21 23:14:36 +02:00
|
|
|
<ng-template #deauthorizeSessionsTemplate></ng-template>
|
2018-06-22 04:40:01 +02:00
|
|
|
<ng-template #purgeVaultTemplate></ng-template>
|
|
|
|
<ng-template #deleteAccountTemplate></ng-template>
|
2020-11-10 22:13:42 +01:00
|
|
|
<ng-template #viewUserApiKeyTemplate></ng-template>
|
|
|
|
<ng-template #rotateUserApiKeyTemplate></ng-template>
|