fix(login): ldap_settings not defined
This commit is contained in:
parent
ce3bc8e133
commit
a2e2f67f16
1 changed files with 1 additions and 0 deletions
|
|
@ -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>'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue