Commit Graph

5 Commits

Author SHA1 Message Date
04eacf66cd
Fixed an error with successful verification after updating the captcha. 2023-11-26 14:58:07 +06:00
c57a81d76b
Handle server rate limit in script.js
In the 'then' function of our AJAX request in script.js, I've added a condition to check for a response status of 429 which indicates too many requests. If this status is encountered, an error message will be shown prompting the user to refresh their CAPTCHA. This is to prevent the user from making excessive attempts unbeknownst to them.
2023-11-25 19:59:54 +06:00
876fcc9e6b
Add captcha validation error handling in script.js
A conditional block of code was added to handle the case when 'captcha_key' is not defined. This is to manage the scenario when captcha verification fails, providing an error message to the user and thus improving user experience.
2023-11-25 15:12:43 +06:00
23b71a09c6
Added fallback for empty error messages.
In the case where the data.errors object does not have any explicit errors, the diff adds a fallback. The resulting error message displayed will then be the general data message. This prevents situations where the user receives an empty error message.
2023-11-23 01:10:04 +06:00
fc7d1bd62f
The GUI for the Captcha service is ready. 2023-11-23 00:10:39 +06:00