Add message to confirm account for unconfirmed users

This commit is contained in:
Stephan Porada
2019-07-09 10:09:35 +02:00
parent 68e1607af3
commit 1ec93fa7d6
3 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,20 @@
{% extends "base.html.j2" %}
{% block title %}Opaque - Confirm your account{% endblock %}
{% block page_content %}
<div class="page-header">
<h1>
Hello, {{ current_user.username }}!
</h1>
<h3>You have not confirmed your account yet.</h3>
<p>
Before you can access this site you need to confirm your account.
Check your inbox, you should have received an email with a confirmation link.
</p>
<p>
Need another confirmation email?
<a href="{{ url_for('auth.resend_confirmation') }}">Click here</a>
</p>
</div>
{% endblock %}