78c9d3c59a
* move mfa end user setup * move remaining files * fix import on tests
37 lines
1.3 KiB
Handlebars
37 lines
1.3 KiB
Handlebars
<div ...attributes>
|
|
<p>
|
|
TOTP Multi-factor authentication (MFA) can be enabled here if it is required by your administrator. This will ensure that
|
|
you are not prevented from logging into Vault in the future, once MFA is fully enforced.
|
|
</p>
|
|
<form id="mfa-setup-step-one" {{on "submit" this.verifyUUID}}>
|
|
<MessageError @errorMessage={{this.error}} class="has-top-margin-s" />
|
|
<div class="field has-top-margin-l">
|
|
<label class="is-label">
|
|
Method ID
|
|
</label>
|
|
|
|
{{! template-lint-disable no-autofocus-attribute}}
|
|
<p class="sub-text">Enter the UUID for your multi-factor authentication method. This can be provided to you by your
|
|
administrator.</p>
|
|
<Input
|
|
id="uuid"
|
|
name="uuid"
|
|
class="input"
|
|
autocomplete="off"
|
|
spellcheck="false"
|
|
autofocus="true"
|
|
@value={{this.UUID}}
|
|
data-test-input="uuid"
|
|
/>
|
|
</div>
|
|
|
|
<div class="is-flex-start has-gap">
|
|
<button id="continue" type="submit" class="button is-primary" disabled={{(is-empty-value this.UUID)}} data-test-verify>
|
|
Verify
|
|
</button>
|
|
<button id="cancel" type="button" {{on "click" this.redirectPreviousPage}} class="button">
|
|
Cancel
|
|
</button>
|
|
</div>
|
|
</form>
|
|
</div> |