mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-10 06:08:34 +02:00
759dc647e5
* refactored api key modal for multiple key types * Added support for viewing and rotating user API keys * Fixed the API key component references in app.module * Implemented User ApiKey viewing/rotating * Changed ApiKey grant_type display to client_credentials * Hopefully put jslib back * Added new localization strings for user API keys * Toggled button text based on if viewing or rotating an api key * updated jslib * Reverted jslib * Trying to fix jslib * Reverted jslib from commit hash * Reupdated jslib
43 lines
1.7 KiB
HTML
43 lines
1.7 KiB
HTML
<div class="page-header">
|
|
<h1>{{'myAccount' | i18n}}</h1>
|
|
</div>
|
|
<app-profile></app-profile>
|
|
<div class="secondary-header">
|
|
<h1>{{'changeEmail' | i18n}}</h1>
|
|
</div>
|
|
<app-change-email></app-change-email>
|
|
<div class="secondary-header">
|
|
<h1>{{'changeMasterPassword' | i18n}}</h1>
|
|
</div>
|
|
<app-change-password></app-change-password>
|
|
<div class="secondary-header">
|
|
<h1>{{'encKeySettings' | i18n}}</h1>
|
|
</div>
|
|
<app-change-kdf></app-change-kdf>
|
|
<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>
|
|
<div class="secondary-header text-danger border-0 mb-0">
|
|
<h1>{{'dangerZone' | i18n}}</h1>
|
|
</div>
|
|
<div class="card border-danger">
|
|
<div class="card-body">
|
|
<p>{{'dangerZoneDesc' | i18n}}</p>
|
|
<button type="button" class="btn btn-outline-danger"
|
|
(click)="deauthorizeSessions()">{{'deauthorizeSessions' | i18n}}</button>
|
|
<button type="button" class="btn btn-outline-danger" (click)="purgeVault()">{{'purgeVault' | i18n}}</button>
|
|
<button type="button" class="btn btn-outline-danger"
|
|
(click)="deleteAccount()">{{'deleteAccount' | i18n}}</button>
|
|
</div>
|
|
</div>
|
|
<ng-template #deauthorizeSessionsTemplate></ng-template>
|
|
<ng-template #purgeVaultTemplate></ng-template>
|
|
<ng-template #deleteAccountTemplate></ng-template>
|
|
<ng-template #viewUserApiKeyTemplate></ng-template>
|
|
<ng-template #rotateUserApiKeyTemplate></ng-template>
|