Initial commit
This commit is contained in:
commit
983cee0320
322 changed files with 57174 additions and 0 deletions
29
backup/first -fina app/app/templates/auth/verify_2fa.html
Executable file
29
backup/first -fina app/app/templates/auth/verify_2fa.html
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Verify 2FA - 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" action="{{ url_for('auth.verify_2fa') }}" class="auth-form">
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="token">Authentication Code</label>
|
||||
<input type="text" id="token" name="token" required autofocus
|
||||
pattern="[0-9]{6}" maxlength="6" placeholder="000000"
|
||||
style="font-size: 1.5rem; text-align: center; letter-spacing: 0.5rem;">
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary">Verify & Login</button>
|
||||
</form>
|
||||
|
||||
<div class="auth-link">
|
||||
<a href="{{ url_for('auth.login') }}">Back to Login</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue