send sms when successfull request
This commit is contained in:
1 parent
19b19c2104
commit
2c193ee294
1 file changed
+2
@@ -113,6 +113,8 @@ public function verifyOtp(VerifyOtpRequest $request): RedirectResponse
|
||||
|
||||
session()->put('coupon_code', $coupon->code);
|
||||
|
||||
sendSMS($phone, 'Gutlaýarys! Kupon koduňyz: '.$coupon->code);
|
||||
|
||||
return redirect()
|
||||
->route('verification.congratulations')
|
||||
->withCookie($this->makeDeviceCookie($phone));
|
||||
|
||||
Reference in new issue
Block a user