DONE: reset password function, update header and footer design by adding logo

This commit is contained in:
2026-10-06 11:28:47 +08:00
parent 67228628b1
commit 09b1c12b21
9 changed files with 147 additions and 112 deletions
+3 -1
View File
@@ -113,7 +113,9 @@ class UserController extends Controller
$user['is_verified'] = 0;
$user->save();
Mail::to($request->email)->send(new ResetPassword($user->name, $token));
$resetUrl = url('/forgot-password/' . $token);
Mail::to($request->email)->send(new ResetPassword($user->name, $resetUrl));
if(Mail::failures() != 0) {
return back()->with('success', 'Berjaya DiHantar! Pautan Lupa Katalaluan Telah Dihantarkan Kepada Alamat Emel Anda.');