Tell pdc itself to use saml/mellon.
This commit is contained in:
parent
c2897a6167
commit
3a879f6cde
1 changed files with 6 additions and 0 deletions
|
@ -34,6 +34,12 @@ REST_FRAMEWORK = {
|
||||||
'DEFAULT_PAGINATION_CLASS': 'pdc.apps.common.pagination.AutoDetectedPageNumberPagination',
|
'DEFAULT_PAGINATION_CLASS': 'pdc.apps.common.pagination.AutoDetectedPageNumberPagination',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Because we don't want to kerberos, we want to ipsilon
|
||||||
|
LOGIN_URL = '/auth/saml2login'
|
||||||
|
AUTHENTICATION_BACKENDS = (
|
||||||
|
'pdc.apps.auth.backends.AuthMellonUserBackend',
|
||||||
|
'django.contrib.auth.backends.ModelBackend',
|
||||||
|
)
|
||||||
|
|
||||||
import os.path
|
import os.path
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue