0001-auth_saml-log-mapping-errors-during-user-creation-48.patch
src/authentic2_auth_saml/adapters.py | ||
---|---|---|
74 | 74 |
try: |
75 | 75 |
self.provision_a2_attributes(user, idp, saml_attributes) |
76 | 76 |
except MappingError as e: |
77 |
logger.warning('auth_saml: failure during attribute provisionning %s', e) |
|
77 | 78 |
raise UserCreationError('user creation failed on a mandatory mapping action: %s' % e) |
78 | 79 |
if not user.ou: |
79 | 80 |
user.ou = get_default_ou() |
80 |
- |