fix reset password
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<!-- app/Views/user/password_reset_confirmation.php -->
|
||||
<?php if (session()->getFlashdata('show_modal')): ?>
|
||||
<div class="modal fade" id="emailConfirmModal" tabindex="-1" aria-labelledby="emailConfirmLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-dialog-centered modal-lg">
|
||||
<div class="modal-content rounded-4 shadow border-0" style="max-width: 600px; margin: auto;">
|
||||
@@ -17,11 +18,10 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if (session()->getFlashdata('show_modal')): ?>
|
||||
<script>
|
||||
window.addEventListener('DOMContentLoaded', function() {
|
||||
const modal = new bootstrap.Modal(document.getElementById('emailConfirmModal'));
|
||||
modal.show();
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
window.addEventListener('DOMContentLoaded', function() {
|
||||
const modal = new bootstrap.Modal(document.getElementById('emailConfirmModal'));
|
||||
modal.show();
|
||||
});
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
|
||||
Reference in New Issue
Block a user