mirror of https://github.com/Aidaho12/haproxy-wi
parent
873062d23a
commit
8fe6876c49
|
@ -861,7 +861,10 @@ if serv is not None and act == "showMap":
|
|||
if "bind" in line or (line.startswith('listen') and ":" in line) or (
|
||||
line.startswith('frontend') and ":" in line):
|
||||
try:
|
||||
bind = line.split(":")
|
||||
if "@" not in line:
|
||||
bind = line.split(":")
|
||||
else:
|
||||
bind = line.split("@")
|
||||
if str(stats_port) not in bind[1]:
|
||||
bind[1] = bind[1].strip(' ')
|
||||
bind = bind[1].split("crt")
|
||||
|
|
|
@ -268,7 +268,7 @@
|
|||
{{ line }}
|
||||
</span><br />
|
||||
{% endif %}
|
||||
{%- if "bind" in line -%}
|
||||
{%- if "bind" in line and "@" not in line -%}
|
||||
{%- set bind = line.split(':')[1] -%}
|
||||
{%- set bind = bind.split(' ') -%}
|
||||
<script>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
</td>
|
||||
<td>
|
||||
{{ input('new-username') }}
|
||||
{% if ldap_enable == '1' %}
|
||||
{% if ldap_enable == 1 %}
|
||||
<a href="#" title="Search user in AD" id="search_ldap_user">Search user in AD</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
|
|
Loading…
Reference in New Issue