mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 19:01:05 +03:30
fix
This commit is contained in:
@@ -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' , [
|
||||
|
||||
Reference in New Issue
Block a user