From 02bed2e7d851c6dc729564c0f48d0b4754bf2f06 Mon Sep 17 00:00:00 2001 From: ajurna Date: Thu, 14 May 2020 14:21:07 +0100 Subject: [PATCH] fixed settings and user management. --- cbreader/settings/base.py | 2 -- comic_auth/templates/comic_auth/login.html | 11 +++++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/cbreader/settings/base.py b/cbreader/settings/base.py index 8fbd5a5..0a77d34 100644 --- a/cbreader/settings/base.py +++ b/cbreader/settings/base.py @@ -110,8 +110,6 @@ STATICFILES_DIRS = [ os.path.join(BASE_DIR, "static"), ] -print(STATICFILES_DIRS) - LOGIN_REDIRECT_URL = "/comic/" LOGIN_URL = "/login/" diff --git a/comic_auth/templates/comic_auth/login.html b/comic_auth/templates/comic_auth/login.html index 5c1dab5..12706df 100644 --- a/comic_auth/templates/comic_auth/login.html +++ b/comic_auth/templates/comic_auth/login.html @@ -1,17 +1,20 @@ {% extends "base.html" %} {% load recaptcha2 %} +{% load bootstrap4 %} {% block title %}CBWebReader - Login{% endblock %} {% block content %} {% recaptcha_init %} -
+
{% if error %} {% endif %} -