diff --git a/src/app/accounts/recover-two-factor.component.html b/src/app/accounts/recover-two-factor.component.html new file mode 100644 index 00000000..5fb4ae08 --- /dev/null +++ b/src/app/accounts/recover-two-factor.component.html @@ -0,0 +1,39 @@ +
diff --git a/src/app/accounts/recover-two-factor.component.ts b/src/app/accounts/recover-two-factor.component.ts new file mode 100644 index 00000000..72da951d --- /dev/null +++ b/src/app/accounts/recover-two-factor.component.ts @@ -0,0 +1,42 @@ +import { Component } from '@angular/core'; +import { Router } from '@angular/router'; + +import { ToasterService } from 'angular2-toaster'; +import { Angulartics2 } from 'angulartics2'; + +import { ApiService } from 'jslib/abstractions/api.service'; +import { CryptoService } from 'jslib/abstractions/crypto.service'; +import { I18nService } from 'jslib/abstractions/i18n.service'; + +import { TwoFactorRecoveryRequest } from 'jslib/models/request/twoFactorRecoveryRequest'; + +@Component({ + selector: 'app-recover-two-factor', + templateUrl: 'recover-two-factor.component.html', +}) +export class RecoverTwoFactorComponent { + email: string; + masterPassword: string; + recoveryCode: string; + formPromise: Promise