config.py: add RBAC backends to authorized backends
This commit is contained in:
parent
1ec684b60a
commit
b52022e5d4
|
@ -129,7 +129,10 @@ LDAP_AUTH_SETTINGS = [
|
|||
},
|
||||
}
|
||||
]
|
||||
AUTHENTICATION_BACKENDS = ('authentic2.backends.ldap_backend.LDAPBackend',)
|
||||
AUTHENTICATION_BACKENDS = (
|
||||
'authentic2.backends.ldap_backend.LDAPBackend',
|
||||
'django_rbac.backends.DjangoRBACBackend',
|
||||
)
|
||||
|
||||
# bypass authentic2 warning: "DEFAULT_FROM_EMAIL must be customized"
|
||||
DEFAULT_FROM_EMAIL = 'root@localhost'
|
||||
|
|
Reference in New Issue