mirror of
https://github.com/bitwarden/web
synced 2025-12-15 07:43:16 +00:00
danger zone
This commit is contained in:
@@ -1,12 +1,19 @@
|
|||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>My Account</h1>
|
<h1>{{'myAccount' | i18n}}</h1>
|
||||||
</div>
|
</div>
|
||||||
<app-profile></app-profile>
|
<app-profile></app-profile>
|
||||||
<div class="secondary-header">
|
<div class="secondary-header">
|
||||||
<h1>Change Email</h1>
|
<h1>{{'changeEmail' | i18n}}</h1>
|
||||||
</div>
|
</div>
|
||||||
<app-change-email></app-change-email>
|
<app-change-email></app-change-email>
|
||||||
<div class="secondary-header">
|
<div class="secondary-header">
|
||||||
<h1>Change Master Password</h1>
|
<h1>{{'changeMasterPassword' | i18n}}</h1>
|
||||||
</div>
|
</div>
|
||||||
<app-change-password></app-change-password>
|
<app-change-password></app-change-password>
|
||||||
|
<div class="secondary-header text-danger">
|
||||||
|
<h1>{{'dangerZone' | i18n}}</h1>
|
||||||
|
</div>
|
||||||
|
<p>{{'dangerZoneDesc' | i18n}}</p>
|
||||||
|
<button type="button" class="btn btn-outline-secondary" (click)="deauthorizeSessions()">{{'deauthorizeSessions' | i18n}}</button>
|
||||||
|
<button type="button" class="btn btn-outline-secondary" (click)="purgeVault()">{{'purgeVault' | i18n}}</button>
|
||||||
|
<button type="button" class="btn btn-outline-secondary" (click)="deleteAccount()">{{'deleteAccount' | i18n}}</button>
|
||||||
|
|||||||
@@ -4,4 +4,16 @@ import { Component } from '@angular/core';
|
|||||||
selector: 'app-account',
|
selector: 'app-account',
|
||||||
templateUrl: 'account.component.html',
|
templateUrl: 'account.component.html',
|
||||||
})
|
})
|
||||||
export class AccountComponent { }
|
export class AccountComponent {
|
||||||
|
deauthorizeSessions() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
purgeVault() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
deleteAccount() {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -808,5 +808,23 @@
|
|||||||
},
|
},
|
||||||
"confirmNewMasterPass": {
|
"confirmNewMasterPass": {
|
||||||
"message": "Confirm New Master Password"
|
"message": "Confirm New Master Password"
|
||||||
|
},
|
||||||
|
"dangerZone": {
|
||||||
|
"message": "Danger Zone"
|
||||||
|
},
|
||||||
|
"dangerZoneDesc": {
|
||||||
|
"message": "Careful, these actions are not reversible!"
|
||||||
|
},
|
||||||
|
"deauthorizeSessions": {
|
||||||
|
"message": "Deauthorize Sessions"
|
||||||
|
},
|
||||||
|
"purgeVault": {
|
||||||
|
"message": "Purge Vault"
|
||||||
|
},
|
||||||
|
"deleteAccount": {
|
||||||
|
"message": "Delete Account"
|
||||||
|
},
|
||||||
|
"myAccount": {
|
||||||
|
"message": "My Account"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user