Move MFA Modal out of the Password Reset Form
This commit is contained in:
@@ -30,6 +30,8 @@ $remember_token_count = mysqli_num_rows($sql_remember_tokens);
|
|||||||
|
|
||||||
<button type="submit" name="edit_your_user_password" class="btn btn-primary"><i class="fas fa-check mr-2"></i>Change</button>
|
<button type="submit" name="edit_your_user_password" class="btn btn-primary"><i class="fas fa-check mr-2"></i>Change</button>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
<div class="float-right">
|
<div class="float-right">
|
||||||
<?php if (empty($session_token)) { ?>
|
<?php if (empty($session_token)) { ?>
|
||||||
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#enableMFAModal">
|
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#enableMFAModal">
|
||||||
@@ -43,10 +45,6 @@ $remember_token_count = mysqli_num_rows($sql_remember_tokens);
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user