diff --git a/config.py b/config.py index 9fbc2f8..c726aff 100644 --- a/config.py +++ b/config.py @@ -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'