general: always declare django-mellon if it's available (#23365)

This commit is contained in:
Frédéric Péters 2018-04-24 10:15:56 +02:00
parent d560d5ff81
commit e0e3ded588
2 changed files with 1 additions and 3 deletions

View File

@ -225,6 +225,7 @@ except ImportError:
mellon = None
if mellon is not None:
INSTALLED_APPS += ('mellon',)
AUTHENTICATION_BACKENDS = (
'mellon.backends.SAMLBackend',
'django.contrib.auth.backends.ModelBackend',

View File

@ -4,9 +4,6 @@ import os
PROJECT_NAME = 'combo'
# SAML2 authentication
INSTALLED_APPS += ('mellon',)
#
# hobotization (multitenant)
#