laravel-otp-validate icon indicating copy to clipboard operation
laravel-otp-validate copied to clipboard

Wrong message shows when OTP max resend tries are exhausted

Open ihemantkumar opened this issue 1 year ago • 1 comments

When the Plugin is in enabled state and user's OTP max resend tries are over. We get response with error code 503, message "Resend Service is disabled". However, I have this service enabled maybe using which I was able to resend the OTP codes. Here's the screenshot of the method in use with error code. requestOTP

I think the plugin should first see if the resend OTP service is enabled or not, if enabled, show message "Resend Exceeded".

ihemantkumar avatar Jul 13 '23 09:07 ihemantkumar

Let me review and get back. Thanks for pointing it out.

ferdousulhaque avatar Jul 15 '23 11:07 ferdousulhaque