Beispiel #1
0
    public void OTPSubmit(string otp_intered)
    {
        ClearInpuFields();
        LoaderPanel.SetActive(true);

        if (oTPInitiator == OTPInitiator.ForgotPassword)
        {
            print("user_id " + user_id);
            print("otp_intered " + otp_intered);

            WebRequestObject.ProcessForgotPasswordOTP(user_id, otp_intered, ForgotPassOTPCallback);

            navigationPanelsList.Add(VerificationPanel);
        }
        else if (oTPInitiator == OTPInitiator.Registration)
        {
            WebRequestObject.ProcessOTP(user_id, otp_intered, OTPSubmitCallback);
        }
    }