master
kek7198 2021-11-30 18:45:27 -06:00
parent 12732575c7
commit a0b6ebeb3f
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ const twoStepModal = new bootstrap.Modal(document.getElementById('2faModal'))
<div class="body w-lg-100"> <div class="body w-lg-100">
<div class="custom-control custom-switch"> <div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="2faToggle" name="2faToggle" onchange="document.getElementById('2faModal').modal('toggle')" {% if not mfa_secret %}checked=""{% endif %}> <input type="checkbox" class="custom-control-input" id="2faToggle" name="2faToggle" onchange="twoStepModal.show()" {% if not mfa_secret %}checked=""{% endif %}>
<label class="custom-control-label" for="2faToggle"></label> <label class="custom-control-label" for="2faToggle"></label>
</div> </div>