Skip to content

Instantly share code, notes, and snippets.

@PatrickKalkman
Created January 16, 2022 15:25
Show Gist options
  • Save PatrickKalkman/ea691d3739f8dcbbb649d85f1efa4c63 to your computer and use it in GitHub Desktop.
Save PatrickKalkman/ea691d3739f8dcbbb649d85f1efa4c63 to your computer and use it in GitHub Desktop.
Enable two factor authentication temple
<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