upload.unturf.com/templates/login.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
444 B
Django/Jinja

{% extends 'base.html.j2' %}
{% block title %}Login{% endblock %}
{% block content %}
<h1>Login</h1>
<p>Enter your email to receive a 6-digit verification code.</p>
<form method="POST">
<label for="email">Email:</label>
<input type="hidden" name="csrf_token" value="{{ request.session.get_csrf_token() }}">
<input type="email" name="email" required>
<button type="submit">Get Verification Code</button>
</form>
{% endblock %}