Merge pull request #377 from dod-ccpo/email-not-unique
Handle AlreadyExistsError on user creation with non-unique email
This commit is contained in:
@@ -4,9 +4,12 @@
|
||||
|
||||
<main class="usa-section usa-content">
|
||||
|
||||
<h1>Not Found</h1>
|
||||
{% if message %}
|
||||
<h1>{{ message }}</h1>
|
||||
{% else %}
|
||||
<h1>An error occurred.</h1>
|
||||
{% endif %}
|
||||
|
||||
</main>
|
||||
|
||||
{% endblock %}
|
||||
|
@@ -1,12 +0,0 @@
|
||||
{% extends "error_base.html" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<main class="usa-section usa-content">
|
||||
|
||||
<h1>Log in Failed</h1>
|
||||
|
||||
</main>
|
||||
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user