mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 02:38:28 +00:00
Show warning if user already set an application password
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user