Skip to content
Snippets Groups Projects
Verified Commit 74304639 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Fix preferences default

parent ca7b0698
No related branches found
No related tags found
No related merge requests found
...@@ -43,11 +43,11 @@ class LDAPSyncCreateMissingPersons(BooleanPreference): ...@@ -43,11 +43,11 @@ class LDAPSyncCreateMissingPersons(BooleanPreference):
class LDAPMatchingFields(ChoicePreference): class LDAPMatchingFields(ChoicePreference):
section = ldap section = ldap
name = "matching_fields" name = "matching_fields"
default = None default = ""
required = False required = False
verbose_name = _("LDAP sync matching fields") verbose_name = _("LDAP sync matching fields")
choices = [ choices = [
(None, "-----"), ("", "-----"),
("match-email", _("Match only on email")), ("match-email", _("Match only on email")),
("match-name", _("Match only on name")), ("match-name", _("Match only on name")),
("match-email-name", _("Match on email and name")), ("match-email-name", _("Match on email and name")),
......
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