diff --git a/packages/Auth/SendsPasswordResetEmails.php b/packages/Auth/SendsPasswordResetEmails.php index b05de687..aaed7b64 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(10000000, 99999999); + $code = rand(100000, 999999); \Cache::put($code, $user->id, Carbon::now()->addMinutes(30)); SmsNotification::to( $userModel )->isSystematic()->send( trans( 'sms.reset_password' , [