- Improved CSRF handling
- Wordpress plugin for Evie Chat
This commit is contained in:
9
eveai_app/templates/error/generic.html
Normal file
9
eveai_app/templates/error/generic.html
Normal file
@@ -0,0 +1,9 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Unexpected Error{% endblock %}
|
||||
|
||||
{% block content_title %}Internal Server error{% endblock %}
|
||||
{% block content_description %}Something unexpected happened! The administrator has been notified.{% endblock %}
|
||||
{% block content %}
|
||||
<p><a href="{{ url_for('basic_bp.index') }}">Return home</a></p>
|
||||
{% endblock %}
|
||||
@@ -20,6 +20,13 @@
|
||||
{# </p>#}
|
||||
<p>{{ login_user_form.submit() }}</p>
|
||||
</form>
|
||||
|
||||
<!-- Debugging information -->
|
||||
{# <div style="margin-top: 20px; border: 1px solid #ccc; padding: 10px;">#}
|
||||
{# <h4>Debugging Information:</h4>#}
|
||||
{# <p>CSRF Token: {{ login_user_form.csrf_token.current_token }}</p>#}
|
||||
{# <p>Session ID: {{ session.sid }}</p>#}
|
||||
{# </div>#}
|
||||
{% endblock %}
|
||||
{% block content_footer %}
|
||||
First time here? Forgot your password?
|
||||
|
||||
Reference in New Issue
Block a user