fix reset password
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 49s
Tests / PHPUnit (push) Failing after 1m20s

This commit is contained in:
root
2026-08-26 20:45:23 -04:00
parent 9899af7b37
commit a354d78fa9
11 changed files with 88 additions and 25 deletions
+8 -3
View File
@@ -7,12 +7,17 @@
<?= esc(session()->getFlashdata('error')) ?>
</div>
<?php endif; ?>
<?php if (session()->getFlashdata('success')): ?>
<div class="alert alert-success text-center">
<?= esc(session()->getFlashdata('success')) ?>
</div>
<?php endif; ?>
<!-- Form -->
<form method="post" action="/processForgotPassword" class="text-start" style="max-width: 600px; margin: 0 auto;">
<form method="post" action="<?= site_url('user/forgot_password') ?>" class="text-start" style="max-width: 600px; margin: 0 auto;">
<?= csrf_field() ?>
<div class="text-center mb-4">
<a href="<?= base_url('/') ?>">
<a href="<?= site_url('user/forgot_password') ?>">
<img src="<?= base_url('assets/images/alrahma_logo.png') ?>" alt=""
style="width: 120px; height: 120px; border-radius: 50%; object-fit: contain; background-color: #fff;">
</a>
@@ -43,7 +48,7 @@
<div class="text-center">
<p class="mb-0">Don't have an account?</p>
<a href="/register" class="d-inline-block mt-1">Register now</a>
<a href="<?= site_url('register') ?>" class="d-inline-block mt-1">Register now</a>
</div>
</form>
</div>