Created
January 16, 2022 15:25
-
-
Save PatrickKalkman/ea691d3739f8dcbbb649d85f1efa4c63 to your computer and use it in GitHub Desktop.
Enable two factor authentication temple
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
<h3>Two Factor Registration</h3> | |
<img v-bind:src="qr" /> | |
<form @submit.prevent="validateToken"> | |
<label for="token"> | |
Enter token to enable two factor authentication: | |
</label> | |
<input v-model="token" type="text" name="token" value /> | |
<button type="submit" name="button">validate</button> | |
</form> | |
<p>{{ validationMessage }}</p> | |
</div> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment