Projet

Général

Profil

0005-django-1.6-authentication-backends-import-path-must-.patch

Benjamin Dauvergne, 12 août 2014 14:40

Télécharger (1,2 ko)

Voir les différences:

Subject: [PATCH 5/6] [django-1.6] authentication backends import path must
 match the canonical __module__.__class__

 authentic2/settings.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
authentic2/settings.py
201 201

  
202 202
# authentication
203 203
AUTHENTICATION_BACKENDS = (
204
    'authentic2.backends.ModelBackend',
204
    'authentic2.backends.models_backend.ModelBackend',
205 205
)
206 206
AUTHENTICATION_BACKENDS = plugins.register_plugins_authentication_backends(
207 207
        AUTHENTICATION_BACKENDS)
......
590 590
    # OPENID_ACTIONS = {"http://rp.example.com" : 'my-template.html', }
591 591

  
592 592
if LDAP_AUTH_SETTINGS:
593
    AUTHENTICATION_BACKENDS = ('authentic2.backends.LDAPBackend',) + AUTHENTICATION_BACKENDS
593
    AUTHENTICATION_BACKENDS = ('authentic2.backends.ldap_backend.LDAPBackend',) + AUTHENTICATION_BACKENDS
594 594

  
595
-