diff --git a/application/modules/Auth/views/otp_verification.php b/application/modules/Auth/views/otp_verification.php index c05c1c7..b2e6162 100644 --- a/application/modules/Auth/views/otp_verification.php +++ b/application/modules/Auth/views/otp_verification.php @@ -196,12 +196,12 @@ function send_otp() { $(document).ready(function() { - var id = ``; - var val = ``; - var email = ``; - var status = ``; - var csrf_hash = ``; - + + var id = ``; + var val = ``; + var email = ``; + var status = ``; + var csrf_hash = ``; if (status === "failed") { $('#id').val(id); @@ -212,7 +212,7 @@ function send_otp() { $('#otp_span_msg').html('Pls enter correct OTP').css('color', 'red'); $('#sendotpbtn').html('Resend OTP'); - } else if (response.status === "success") { + } else if (status === "success") { $('input[name=csrf_test_name]').val(csrf_hash); $('#id').val(id);