5cf3f944b1
- Updated docker-compose.yml to include Mailhog service for email testing. - Added environment variables for email configuration in docker-compose. - Updated requirements.txt to include fastapi-mail for email support. - Created templates for password reset, email verification, and welcome emails. - Developed mail utility module to handle sending emails using FastAPI-Mail. - Added documentation for email testing with Mailhog.
24 lines
899 B
HTML
24 lines
899 B
HTML
{% extends "base.html" %}
|
|
{% block content %}
|
|
<div class="max-w-md mx-auto my-8">
|
|
<div class="bg-white p-8 rounded-lg shadow-md">
|
|
<div class="text-center">
|
|
<i class="fas fa-exclamation-circle text-red-500 text-5xl mb-4"></i>
|
|
<h1 class="text-2xl font-bold text-red-600 mb-3">Verification Failed</h1>
|
|
|
|
{% if error %}
|
|
<p class="text-gray-600 mb-6">{{ error }}</p>
|
|
{% else %}
|
|
<p class="text-gray-600 mb-6">We couldn't verify your email address with the provided link.</p>
|
|
{% endif %}
|
|
|
|
<p class="text-gray-600 mb-6">If your verification link has expired, you can request a new one by logging in with your credentials.</p>
|
|
|
|
<a href="/auth/login" class="inline-block bg-irish-green text-white py-2 px-6 rounded-md hover:bg-opacity-90 transition">
|
|
Return to Login
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|