Fix oauth2 authorisation form not working

This commit is contained in:
Jens Langhammer
2018-11-25 12:31:55 +01:00
parent 9967319294
commit 76a43a7818
6 changed files with 25 additions and 24 deletions

View File

@ -56,6 +56,7 @@ INSTALLED_APPS = [
'django.contrib.staticfiles',
'reversion',
'rest_framework',
'crispy_forms',
'passbook.core',
'passbook.admin',
'passbook.api',
@ -66,9 +67,6 @@ INSTALLED_APPS = [
'passbook.oauth_provider',
'passbook.saml_idp',
'passbook.tfa',
'crispy_forms',
'oauth2_provider',
'corsheaders',
]
# Message Tag fix for bootstrap CSS Classes
@ -246,16 +244,11 @@ with CONFIG.cd('log'):
'level': 'DEBUG',
'propagate': True,
},
'flower': {
'oauth2_provider': {
'handlers': LOG_HANDLERS,
'level': 'DEBUG',
'propagate': True,
},
'celery': {
'handlers': LOG_HANDLERS,
'level': 'WARNING',
'propagate': True,
},
}
}

View File

@ -14,7 +14,7 @@
<link rel="stylesheet" type="text/css" href="{% static 'css/patternfly.min.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'css/patternfly-additions.min.css' %}">
</head>
<body {% if is_login or client_id %} class="login-pf" {% endif %}>
<body {% if is_login %} class="login-pf" {% endif %}>
{% block body %}
{% endblock %}
<script src="{% static 'js/jquery.min.js' %}"></script>