Ejemplo n.º 1
0
 public void PasswordSubmit()
 {
     // perform login here with username and password available
     if (oTPInitiator == OTPInitiator.Login)
     {
         LoaderPanel.SetActive(true);
         WebRequestObject.ProcessLogin(username, passwordId, LoginCallback);
     }
     if (oTPInitiator == OTPInitiator.ForgotPassword)
     {
         LoaderPanel.SetActive(true);
         WebRequestObject.ForgotPasswordNewPasswordSubmit(user_id, passwordId, passwordId, PasswordSubmitCallback);
     }
     else if (oTPInitiator == OTPInitiator.Registration)
     {
         //navigationPanelsList.Clear();
         ClearInpuFields();
         ActivatePanel(GradePanel.name);
     }
 }