Commit 0ed98284 authored by Emily Jensen's avatar Emily Jensen

Update text and links

parent cb87c315
Pipeline #37448615 passed with stage
in 8 minutes and 23 seconds
<p>
forgot-learn-more works!
</p>
<div class="account l-container-narrow u-margin-tb-50">
<a class="text-link text-link--left-caret heading-back-link" [routerLink]="['/account']">Account Management</a>
<h2 class="heading-main u-margin-b-20">Change Backup Code</h2>
<p>If you forgot your password, you will need to recover your account.</p>
<p>Do you have your backup code? Your backup code is contained in a PDF that you printed or saved when you created your Passit account.</p>
<h3>I have my backup code</h3>
<ul>
<li><a class="text-link text-link--caret text-link--large" href="javascript:void(0)" (click)="onLogOut()">Log&nbsp;out</a></li>
<li>Click the “Recover your account” link on the login page</li>
<li>Follow the steps to change your password</li>
</ul>
<h3>I don’t have my backup code</h3>
<p>If you didn’t save your backup code, then you will need to transfer your passwords to a new account. Since we require your password to delete your account, you will not be able to do so. Therefore, you will need to use a different email address for your new account.</p>
<ul>
<li><a class="text-link text-link--caret text-link--large" href="javascript:void(0)" [routerLink]="['/export']">Export Your Passwords</a></li>
<li>Register a new account</li>
<li><a class="text-link text-link--caret text-link--large" href="javascript:void(0)" [routerLink]="['/import']">Import Your Passwords</a></li>
</ul>
import { Component, OnInit } from '@angular/core';
import { Component } from '@angular/core';
import { Store } from "@ngrx/store";
import { IState } from "../../../app.reducers";
import { LogoutAction } from "../.././account.actions";
@Component({
selector: 'forgot-learn-more',
templateUrl: './forgot-learn-more.component.html',
styleUrls: ['./forgot-learn-more.component.css']
})
export class ForgotLearnMoreComponent implements OnInit {
export class ForgotLearnMoreComponent {
constructor(private store: Store<IState>) {}
constructor() { }
ngOnInit() {
onLogOut() {
if (window.confirm(
"You are about to log out. Do you have your backup code?"
)
) {
this.store.dispatch(new LogoutAction());
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment