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.
28 lines
1.0 KiB
HTML
28 lines
1.0 KiB
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-check-circle text-green-500 text-5xl mb-4"></i>
|
|
<h1 class="text-2xl font-bold text-irish-green mb-3">Registration Successful!</h1>
|
|
|
|
{% if email_verification_required %}
|
|
<p class="text-gray-600 mb-4">Your account has been created successfully.</p>
|
|
<div class="bg-blue-50 p-4 rounded-md mb-6">
|
|
<p class="text-blue-800">
|
|
<i class="fas fa-envelope mr-2"></i>
|
|
Please check your email inbox to verify your email address before logging in.
|
|
</p>
|
|
</div>
|
|
{% else %}
|
|
<p class="text-gray-600 mb-6">Your account has been created successfully.</p>
|
|
{% endif %}
|
|
|
|
<a href="/auth/login" class="inline-block bg-irish-green text-white py-2 px-6 rounded-md hover:bg-opacity-90 transition">
|
|
Log In
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|