open-vault/ui/app/templates/vault/cluster/mfa-setup.hbs
Angel Garbarino 78c9d3c59a
Move Mfa components to MFA folder (#15813)
* move mfa end user setup

* move remaining files

* fix import on tests
2022-06-06 10:49:03 -06:00

31 lines
960 B
Handlebars

<SplashPage @showTruncatedNavBar={{false}} as |Page|>
<Page.header>
<h1 class="title is-4">MFA setup</h1>
</Page.header>
<Page.content>
<div class="auth-form" data-test-mfa-form>
<div class="box">
{{#if (eq this.onStep 1)}}
<Mfa::MfaSetupStepOne
@entityId={{this.entityId}}
@isUUIDVerified={{this.isUUIDVerified}}
@restartFlow={{this.restartFlow}}
@saveUUIDandQrCode={{this.saveUUIDandQrCode}}
@showWarning={{this.showWarning}}
data-test-step-one
/>
{{/if}}
{{#if (eq this.onStep 2)}}
<Mfa::MfaSetupStepTwo
@entityId={{this.entityId}}
@uuid={{this.uuid}}
@qrCode={{this.qrCode}}
@restartFlow={{this.restartFlow}}
@warning={{this.warning}}
data-test-step-two
/>
{{/if}}
</div>
</div>
</Page.content>
</SplashPage>