install intervention image & update pattern

This commit is contained in:
Fateme
2020-06-01 11:45:37 +04:30
parent ff3dd87778
commit 77f7896207
4 changed files with 76 additions and 2 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ trait SendsPasswordResetEmails
if ($user) {
$code = rand(100000, 999999);
\Cache::put($code, $user->id, Carbon::now()->addMinutes(30));
SMSSender::instance()->patternSend($request->cell_number, '121', ["activate-code" => $code]);
SMSSender::instance()->patternSend($request->cell_number, 'jqomyn42wo', ["verification-code" => $code]);
return \MessageResponse::success('Send Disposable Password');
}
return \MessageResponse::error('User Not Found');