Show warning if user already set an application password

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2024-06-15 11:24:00 +02:00
parent 4349f684b6
commit 3681d7187a
2 changed files with 5 additions and 0 deletions

View File

@@ -260,6 +260,9 @@ mg.include('scripts/pi-hole/lua/settings_header.lp','r')
<p>IMPORTANT: The app password generated here will only be shown
once and cannot be recovered. Make sure to store it in a safe
place!</p>
<div class="danger-area" style="display: none;" id="existing_apppw_warning">
<h4>Application password already configured</h4>Enabling the new app password will forcefully log out all existing applications.
</div>
</div>
<div class="modal-footer">
<button type="button" id="apppw_clear" class="btn btn-default btn-danger pull-left">Remove currently set app password</button>