aboutsummaryrefslogtreecommitdiff
path: root/app/templates
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2020-01-19 19:48:41 +0000
committerrubenwardy <rw@rubenwardy.com>2020-01-19 19:48:41 +0000
commite115b0678cce0f918e1985524751f95c21dd2b2d (patch)
tree601e7b08c007d253bb2cf379f313c640ccb0e7e4 /app/templates
parent0bda16de6dae7a684acf4332312765fe2d78741c (diff)
downloadcheatdb-e115b0678cce0f918e1985524751f95c21dd2b2d.tar.xz
Fix password issues caused by Flask-User migration
Diffstat (limited to 'app/templates')
-rw-r--r--app/templates/flask_user/login.html2
-rw-r--r--app/templates/flask_user_layout.html (renamed from app/templates/flask_user/public_base.html)0
2 files changed, 1 insertions, 1 deletions
diff --git a/app/templates/flask_user/login.html b/app/templates/flask_user/login.html
index a134388..3e93d38 100644
--- a/app/templates/flask_user/login.html
+++ b/app/templates/flask_user/login.html
@@ -15,7 +15,7 @@ Sign in
{{ form.hidden_tag() }}
{# Username or Email field #}
- {% set field = form.username if user_manager.USER_ENABLE_REGISTER else form.email %}
+ {% set field = form.username if user_manager.USER_ENABLE_USERNAME else form.email %}
<div class="form-group {% if field.errors %}has-error{% endif %}">
{# Label on left, "New here? Register." on right #}
<label for="{{ field.id }}" class="control-label">{{ field.label.text }}</label>
diff --git a/app/templates/flask_user/public_base.html b/app/templates/flask_user_layout.html
index 272e1ec..272e1ec 100644
--- a/app/templates/flask_user/public_base.html
+++ b/app/templates/flask_user_layout.html