Commit f0e17c0f authored by David Burke's avatar David Burke

Add sample qr code to storybook

Remove verify mfa link in account section till it's ready
Remove console log
parent 1cc05248
Pipeline #59815901 passed with stage
in 11 minutes and 31 seconds
This diff is collapsed.
......@@ -4,16 +4,13 @@
<ul class="account__list">
<li class="account__list-item">
<h3 class="account__item-heading">
<app-text-link
[link]="['./change-password']"
caret="right"
>
<app-text-link [link]="['./change-password']" caret="right">
Change Account Password &amp; Backup&nbsp;Code
</app-text-link>
</h3>
</li>
<li class="account__list-item">
<!-- <li class="account__list-item">
<h3 class="account__item-heading">
<app-text-link
[link]="['./manage-mfa']"
......@@ -22,14 +19,11 @@
Manage Two-Factor Authentication
</app-text-link>
</h3>
</li>
</li> -->
<li class="account__list-item">
<h3 class="account__item-heading">
<app-text-link
[link]="['./change-backup-code']"
caret="right"
>
<app-text-link [link]="['./change-backup-code']" caret="right">
Change Backup Code
</app-text-link>
</h3>
......@@ -37,10 +31,7 @@
<li class="account__list-item">
<h3 class="account__item-heading">
<app-text-link
[link]="['./error-reporting']"
caret="right"
>
<app-text-link [link]="['./error-reporting']" caret="right">
Error Reporting
</app-text-link>
</h3>
......@@ -115,7 +106,7 @@
<li class="account__list-item">
<h3 class="account__item-heading">
<app-text-link caret="right" [link]="['../export']">
Export Passwords
Export Passwords
</app-text-link>
</h3>
</li>
......
......@@ -55,7 +55,6 @@ export class VerifyMfaContainer {
}
onSubmit() {
console.log("form submitted");
this.store.dispatch(new VerifyMfa());
}
}
......@@ -242,5 +242,11 @@ storiesOf("Account", module)
}
}))
.add("Multi Factor Auth", () => ({
component: ManageMfaComponent
component: ManageMfaComponent,
props: {
uri:
"otpauth://totp/Passit:test%40example.com?secret=JE4ZRQPUIWJV6APW&issuer=Passit",
qrCode:
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAANIElEQVR4Xu2d0W7kOAwEk///6CxwT2cP4EKhKctxel9pUWSzSGs8zuz3z8/Pz1f/VYGXKPBdoF9S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HeKn83n1agQE8rWn9bFSjQW+Xv5tMKFOhpRetvqwIFeqv83XxagQI9rWj9bVWgQG+Vv5tPK1CgpxWtv60KFOit8nfzaQUK9LSi9bdVgQK9Vf5uPq3AP3PXlwIEkq/DAAAAAElFTkSuQmCC"
}
}));
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