From 989f4c3aa589a83cb8252c7ba9a898b74a656e3f Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 21 Jun 2018 15:57:28 -0400 Subject: [PATCH] danger zone --- src/app/settings/account.component.html | 13 ++++++++++--- src/app/settings/account.component.ts | 14 +++++++++++++- src/locales/en/messages.json | 18 ++++++++++++++++++ 3 files changed, 41 insertions(+), 4 deletions(-) diff --git a/src/app/settings/account.component.html b/src/app/settings/account.component.html index 0fa0c54463..0c3e28a4b3 100644 --- a/src/app/settings/account.component.html +++ b/src/app/settings/account.component.html @@ -1,12 +1,19 @@
-

Change Email

+

{{'changeEmail' | i18n}}

-

Change Master Password

+

{{'changeMasterPassword' | i18n}}

+
+

{{'dangerZone' | i18n}}

+
+

{{'dangerZoneDesc' | i18n}}

+ + + diff --git a/src/app/settings/account.component.ts b/src/app/settings/account.component.ts index 57e8fc373c..6f03312d2e 100644 --- a/src/app/settings/account.component.ts +++ b/src/app/settings/account.component.ts @@ -4,4 +4,16 @@ import { Component } from '@angular/core'; selector: 'app-account', templateUrl: 'account.component.html', }) -export class AccountComponent { } +export class AccountComponent { + deauthorizeSessions() { + + } + + purgeVault() { + + } + + deleteAccount() { + + } +} diff --git a/src/locales/en/messages.json b/src/locales/en/messages.json index 8f3ce2c1bb..c118046316 100644 --- a/src/locales/en/messages.json +++ b/src/locales/en/messages.json @@ -808,5 +808,23 @@ }, "confirmNewMasterPass": { "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" } }