25 lines
907 B
HTML
Executable file
25 lines
907 B
HTML
Executable file
{% extends "base.html" %}
|
|
|
|
{% block title %}Verify Login - Finance Tracker{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="auth-container">
|
|
<div class="glass-card auth-card">
|
|
<h1>🔐 Two-Factor Authentication</h1>
|
|
<p class="subtitle">Enter the code from your authenticator app</p>
|
|
|
|
<form method="POST" class="auth-form">
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
|
|
|
<div class="form-group">
|
|
<label for="token">6-digit code</label>
|
|
<input type="text" id="token" name="token" required pattern="[0-9]{6}" maxlength="6" autofocus>
|
|
</div>
|
|
|
|
<button type="submit" class="btn btn-primary">Verify</button>
|
|
</form>
|
|
|
|
<p class="auth-link"><a href="{{ url_for('auth.login') }}">Back to login</a></p>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|