mdsumro did you apply the code?
Saurabh yes, applied
Saurabh applied code as you sent, clear cache and update then after I try myself, results not working 🥺
mdsumro then it should work if you have done it correctly.
I posted a similar thing about a year back. https://discuss.foodomaa.com/d/122-google-captcha-foodomaa-weak-security/11
Saurabh check it
UCDev yes lots of requesting for OTP from someone lots of same or different phone number
@Saurabh @BiswajitNandi @NikhilJain @Mani @UCDev please help me🥺🥺
mdsumro you surely have made code customisation to Foodomaa. Revert back to its original form and apply the throttle code that I have posted earlier.
If you make code changes, you are responsible for your website security.
Saurabh I haven't any changes, I sent credential details you to your support team. check it once
mdsumro Also Try
Route::post('/generate-otp-for-login', [ 'uses' => 'SmsController@generateOtpForLogin', ])->middleware('throttle:3,10');
ramesh thanks brother but not working also this one
and I think you're try most relevant because I see this link /generate-otp-for-login
if you can try more better, really you can solve my problem
mdsumro Are you still facing the problem?
mdsumro if you have enabled OTP login method then the code that Ramesh has posted should work fine. (Mine was when you use email login with OTP on registration method)
What server/hosting are you using? (May be your server is not accepting the Rate Limit configs)
ramesh yes facing same problem 😣
Saurabh
we are using login/signup with OTP
bigrock shared hosting