forked from rDrama/rDrama
Merge branch 'master' of https://github.com/Aevann1/Drama
commit
69e9718dda
|
@ -13,6 +13,8 @@ window.onload = function() {
|
|||
});
|
||||
|
||||
};
|
||||
|
||||
const twoStepModal = new bootstrap.Modal(document.getElementById('2faModal'))
|
||||
</script>
|
||||
|
||||
<div class="row">
|
||||
|
@ -161,7 +163,7 @@ window.onload = function() {
|
|||
<div class="body w-lg-100">
|
||||
|
||||
<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>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue