config.py: implement eduPersonTargetedId
This commit is contained in:
parent
7b13e60b45
commit
373d250f25
|
@ -136,6 +136,15 @@ AUTHENTICATION_BACKENDS = (
|
|||
'django_rbac.backends.DjangoRBACBackend',
|
||||
)
|
||||
|
||||
ATTRIBUTE_SOURCES = [
|
||||
('computed_targeted_id', {
|
||||
'name': 'edupersontargetedid',
|
||||
'label': 'eduPersonTargetedId',
|
||||
'source_attributes': ['service', 'uid'],
|
||||
'salt': 'edupersontargetedid',
|
||||
})
|
||||
]
|
||||
|
||||
# bypass authentic2 warning: "DEFAULT_FROM_EMAIL must be customized"
|
||||
DEFAULT_FROM_EMAIL = 'root@localhost'
|
||||
|
||||
|
|
Reference in New Issue