mirror of https://github.com/Aidaho12/haproxy-wi
parent
0173487eea
commit
bd4af33ae9
|
@ -349,8 +349,8 @@ def is_admin(level=1):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
def page_for_admin(given_level=1) -> None:
|
def page_for_admin(level=1) -> None:
|
||||||
if not is_admin(level=given_level):
|
if not is_admin(level=level):
|
||||||
print('<meta http-equiv="refresh" content="0; url=/">')
|
print('<meta http-equiv="refresh" content="0; url=/">')
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue