fix(login): ldap_settings not defined

This commit is contained in:
Aditya Hase 2019-09-05 16:44:06 +05:30
parent ce3bc8e133
commit a2e2f67f16
No known key found for this signature in database
GPG key ID: 2F5E3D5822BBF831

View file

@ -91,6 +91,7 @@ def get_icon_html(icon, small=False):
u"(\ud83c[\udde0-\uddff])"
"+", flags=re.UNICODE)
icon = icon or ""
if icon and emoji_pattern.match(icon):
return '<span class="text-muted">' + icon + '</span>'