upload.unturf.com/templates/verify.html.j2
Russell Ballestrini c5cc687dcf Ok we have two working agents now as examples
modified:   .gitignore
	modified:   README.rst
	modified:   app.py
	modified:   templates/login.html.j2
	modified:   templates/verify.html.j2
	deleted:    test_agent.sh
	new file:   test_jwt_owner_agent.sh
	new file:   test_otp_cookie_agent.sh
2025-01-12 20:06:52 -05:00

14 lines
557 B
Django/Jinja

{% extends 'base.html.j2' %}
{% block title %}Verify Account{% endblock %}
{% block content %}
<h1>Verify Your Account</h1>
<p>A 6-digit code has been sent to your email. Please enter it below to verify your account.</p>
<form method="POST">
<label for="code">Verification Code:</label>
input type="hidden" name="csrf_token" value="{{ request.session.get_csrf_token() }}">
<input type="text" name="code" required pattern="\d{6}" minlength="6" maxlength="6" inputmode="numeric">
<button type="submit">Verify</button>
</form>
{% endblock %}