[web] allow owner (specified in config) to use debug login even if debug login isn't enabled
This commit is contained in:
parent
b676e78090
commit
0a0bfaac66
3 changed files with 11 additions and 11 deletions
|
@ -21,7 +21,7 @@
|
|||
</button>
|
||||
</form>
|
||||
|
||||
{% if config["debug-mode"] %}
|
||||
{% if config["debug-mode"] or ("login" in session and session["login"] == config["MNT"])%}
|
||||
<form action="" method="post" class="flex">
|
||||
<label for="debug"
|
||||
>Debug login, if you see this in Production contact {{config["MNT"]}}</label
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue