Переглянути джерело

fix: format of ldap_settings.py

version-14
Benedict Allerberger 3 роки тому
джерело
коміт
7da85353c7
1 змінених файлів з 2 додано та 2 видалено
  1. +2
    -2
      frappe/integrations/doctype/ldap_settings/ldap_settings.py

+ 2
- 2
frappe/integrations/doctype/ldap_settings/ldap_settings.py Переглянути файл

@@ -50,8 +50,8 @@ class LDAPSettings(Document):
title=_("Misconfigured"))

if self.ldap_custom_group_search and "{0}" not in self.ldap_custom_group_search:
frappe.throw(_("Custom Group Search if filled needs to contain the user placeholder {0}, eg uid={0},ou=users,dc=example,dc=com"),
title=_("Misconfigured"))
frappe.throw(_("Custom Group Search if filled needs to contain the user placeholder {0}, eg uid={0},ou=users,dc=example,dc=com"),
title=_("Misconfigured"))

else:
frappe.throw(_("LDAP Search String must be enclosed in '()' and needs to contian the user placeholder {0}, eg sAMAccountName={0}"))


Завантаження…
Відмінити
Зберегти