Merge pull request #84 from WDI-Ideas/sayli

Sayli
This commit is contained in:
Sayli Raut
2024-06-06 13:32:27 +05:30
committed by GitHub

View File

@@ -70,10 +70,9 @@ $(document).on("click", "#forgot_password_btn", function (e) {
if (response.status_code == 200) {
form.reset();
toastr.success('Otp send it your mail id please check');
setTimeout(function () {
// toastr.info('Please check your email to reset your password. The link is valid for 5 minutes.');
setTimeout(function() {
window.location.href = base_url + "/otp";
}, 1000);
}, 2000);
}else if (response.status == 404) {
toastr.error('This email id is not exits');
}