From 2e59726bceefbe26bb951c85bbf17f8b48be77ed Mon Sep 17 00:00:00 2001 From: "ehsan.moradi" Date: Sat, 10 May 2025 13:07:58 +0330 Subject: [PATCH] fix --- packages/Auth/SendsPasswordResetEmails.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Auth/SendsPasswordResetEmails.php b/packages/Auth/SendsPasswordResetEmails.php index aaed7b64..b05de687 100644 --- a/packages/Auth/SendsPasswordResetEmails.php +++ b/packages/Auth/SendsPasswordResetEmails.php @@ -60,7 +60,7 @@ trait SendsPasswordResetEmails $userModel = User::where('cell_number', $request->cell_number)->where('status', 'Active'); $user = $userModel->first(); if ($user) { - $code = rand(100000, 999999); + $code = rand(10000000, 99999999); \Cache::put($code, $user->id, Carbon::now()->addMinutes(30)); SmsNotification::to( $userModel )->isSystematic()->send( trans( 'sms.reset_password' , [