Skip to content
Snippets Groups Projects
Verified Commit 13a6779c authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Fix name of preference. Closes #17

parent 6367352a
No related branches found
No related tags found
1 merge request!11Resolve "No such preference in SitePreferenceRegistry with section=ldap and name=additional_field_core_person_street_request"
......@@ -226,7 +226,7 @@ def ldap_sync_from_user(user, dn, attrs):
# Apply regex replace from config
patterns = get_site_preferences()[setting_name + "_re"]
templates = get_site_preferences()[setting_name + "_request"]
templates = get_site_preferences()[setting_name + "_replace"]
value = apply_templates(value, patterns, templates)
# Opportunistically convert LDAP string value to Python object
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment