www.allegiancetech.com Open in urlscan Pro
67.221.239.24  Public Scan

Submitted URL: http://allegiancetech.com/
Effective URL: https://www.allegiancetech.com/v7/app/login.aspx
Submission: On October 12 via manual from US — Scanned from DE

Form analysis 1 forms found in the DOM

POST ./login.aspx

<form method="post" action="./login.aspx" id="frmLogin">
  <div class="aspNetHidden">
    <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="">
    <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="">
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
      value="/wEPDwUKMjAzNTUxMTMxOA8WAh4TVmFsaWRhdGVSZXF1ZXN0TW9kZQIBFgJmD2QWAgIBD2QWAgIBD2QWDmYPFgIeBFRleHQFB1NpZ24gSW5kAgEPD2QWAh4LcGxhY2Vob2xkZXIFCFVzZXJuYW1lZAICDw9kFgIfAgUIUGFzc3dvcmRkAgUPDxYCHwEFB1NpZ24gSW5kZAIKDw9kFgIfAgUIVXNlcm5hbWVkAgsPFgIeCWlubmVyaHRtbAUFUmVzZXRkAg0PDxYCHwEFDlJldHVybiB0byBTaWduZGQYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgEFHmN0bDAwJGNwaENvbnRlbnQkY2hrUmVtZW1iZXJNZcbsD9DnpCEiYAWrdmoFDa6WL3W0">
  </div>
  <script type="text/javascript">
    //<![CDATA[
    var theForm = document.forms['frmLogin'];
    if (!theForm) {
      theForm = document.frmLogin;
    }

    function __doPostBack(eventTarget, eventArgument) {
      if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
      }
    }
    //]]>
  </script>
  <div class="aspNetHidden">
    <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="AB8345D7">
    <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION"
      value="/wEdAAu1d8L4jymQWVqX91732CfIyLMKh8ND3VtXZbCnde7BZY0PdAtYVR++5HhigaQCBdU/+gXPX82vRv3MKitnqwpt+f+JR+tPcmfya6yR7MnVOTySqZXMt03aRAYBgr8Rn3vYTOA7tzceww0vkDc1kO+GRmwoFClKZkLSTMTNFhW8RGB/w1RyhaW0ZXnIVriC5r59uf+iTljxuztiLFTir83MT1NnPic7iSLCdHf9c/cXm6ZmUdSRWpyEbvm6bAlMr3tbG0jH">
  </div>
  <div id="SignIn">
    <h2>Sign In</h2>
    <input name="ctl00$cphContent$txtUserName" type="text" maxlength="100" id="cphContent_txtUserName" class="formField" autocomplete="off" placeholder="Username">
    <input name="ctl00$cphContent$txtPassword" type="password" maxlength="256" id="cphContent_txtPassword" class="formField" autocomplete="off" placeholder="Password">
    <label><input id="cphContent_chkRememberMe" type="checkbox" name="ctl00$cphContent$chkRememberMe"><span id="cphContent_ltRememberMeText">Remember User</span></label>
    <input type="submit" name="ctl00$cphContent$cbtnSubmit" value="Sign In" onclick="if(!LoginValidate()) return false;" id="cphContent_cbtnSubmit" class="primaryBtn">
    <a href="#" id="cphContent_aForgotPassword" onclick="ForgotPassword(true)">Forgot Your Password?</a>
    <a href="#" id="cphContent_aPrivacyPolicy" onclick="OpenInNewTab(); return false;" class="padding6">
             View Privacy</a>
  </div>
  <div id="ForgotPassword" style="display: none;">
    <h2>Forgot Password?</h2>
    <input name="ctl00$cphContent$txtForgotPass" type="text" maxlength="100" id="cphContent_txtForgotPass" class="formField" onkeypress="return resetPasswordOnEnter(event);" placeholder="Username">
    <button onclick="if(!resetThePassword())return false; __doPostBack('ctl00$cphContent$btnResetPassword','')" id="cphContent_btnResetPassword" type="button" class="primaryBtn">Reset</button>
    <p>Or, <a href="https://maritzcx.atlassian.net/servicedesk/customer/portal/1" class="login" target="_blank">Contact us</a> for help resetting your password.</p>
    <p><a id="cphContent_lnkReturnToSign" href="javascript:void(0)" onclick="SignIn(true)">Return to Sign</a></p>
  </div>
  <script type="text/javascript" src="/v7/App/Libs/Zone/zone.min.js"></script>
  <script type="text/javascript">
    function ForgotPassword(clear) {
      $('#ForgotPassword').show();
      $('#SignIn').hide();
      if (document.getElementById('cphContent_txtForgotPass') != null) {
        document.getElementById('cphContent_hdnUserName').value = '';
        document.getElementById('cphContent_txtForgotPass').value = '';
        document.getElementById('cphContent_txtForgotPass').focus();
      }
      if (clear) ClearMessages();
    }

    function OpenInNewTab() {
      var url = 'https://static.allegiancetech.com/support/privacy.html';
      var win = window.open(url, '_blank');
      win.focus();
    }

    function SignIn(clear) {
      $('#ForgotPassword').hide();
      $('#SignIn').show();
      if (document.getElementById('cphContent_txtUserName') != null) document.getElementById('cphContent_txtUserName').focus();
      if (clear) ClearMessages();
    }

    function ClearMessages() {
      $('#resetMessage').hide();
      $('#invalidLogin').hide();
    }

    function LoginValidate() {
      var errors = '';
      if (document.getElementById('cphContent_txtUserName').value.trim() == '') {
        errors += document.getElementById('cphContent_hdnEnterUserNameLogin').value.trim() + '\r\n';
        document.getElementById('cphContent_txtUserName').focus();
        $('#cphContent_txtUserName').addClass('error');
      }
      if (document.getElementById('cphContent_txtPassword').value.trim() == '') {
        errors += document.getElementById('cphContent_hdnEnterPasswordLogin').value.trim() + '\r\n';
        document.getElementById('cphContent_txtPassword').focus();
        $('#cphContent_txtPassword').addClass('error');
      }
      if (errors) {
        alert(errors);
        return false;
      }
      return true;
    }

    function getCustomLogin(company) {
      var url = window.location.origin.replace('www', 'opencanvasclientapi') + '/api/v1/Login/' + company + '/Login';
      $('body').css('background-size', '0 0');
      $.ajax({
        url: url,
        async: false,
        success: function(data) {
          if (data.script) {
            const scriptElement = document.createElement('script');
            scriptElement.id = 'custom-login';
            scriptElement.type = 'text/javascript';
            scriptElement.text = data.script;
            document.body.appendChild(scriptElement);
            createWidget(scriptElement.id);
          } else {
            $('#loginPaneWrapper').show();
            $('body').css('background-size', 'cover');
          }
        },
        error: function(err) {
          $('#loginPaneWrapper').show();
          $('body').css('background-size', 'cover');
        }
      });
    }

    function createWidget(elementID) {
      var widget = document.createElement(elementID);
      widget.setAttribute('remember', $('#cphContent_chkRememberMe').prop('checked'));
      widget.addEventListener('login', handleLogin);
      document.body.append(widget);
    }

    function handleLogin(event) {
      $('#cphContent_txtUserName').val(event.detail.username);
      $('#cphContent_txtPassword').val(event.detail.password);
      $('#cphContent_chkRememberMe').prop('checked', event.detail.remember);
      $('#cphContent_cbtnSubmit').click();
    }

    function getUrlParameter(name) {
      name = name.replace(/[\[]/, '\\[').replace(/[\]]/, '\\]');
      var regex = new RegExp('[\\?&]' + name + '=([^&#]*)');
      var results = regex.exec(location.search);
      return results === null ? '' : decodeURIComponent(results[1].replace(/\+/g, ' '));
    };
    $(document).ready(function() {
      var company = getUrlParameter('Company') || localStorage.Company;
      if (company) {
        localStorage.Company = company;
        getCustomLogin(company);
      } else {
        $('#loginPaneWrapper').show();
      }
      $('input').blur(function() {
        if (this.value) {
          $(this).removeClass('error');
        } else {
          $(this).addClass('error');
        }
      });
      SignIn();
    });

    function resetThePassword() {
      if (document.getElementById('cphContent_txtForgotPass').value.trim() == '' || document.getElementById('cphContent_txtForgotPass').value.trim() == document.getElementById('cphContent_hdnUserName').value.trim()) {
        alert(document.getElementById('cphContent_hdnPleaseEnterUserName').value.trim());
        return false;
      } else {
        return true;
      }
    }

    function resetPasswordOnEnter(e) {
      if (e.keyCode == 13) {
        document.getElementById('cphContent_btnResetPassword').click();
        return false;
      }
      return true;
    }
    (function(arr) {
      arr.forEach(function(item) {
        if (item.hasOwnProperty('append')) {
          return;
        }
        Object.defineProperty(item, 'append', {
          configurable: true,
          enumerable: true,
          writable: true,
          value: function append() {
            var argArr = Array.prototype.slice.call(arguments),
              docFrag = document.createDocumentFragment();
            argArr.forEach(function(argItem) {
              var isNode = argItem instanceof Node;
              docFrag.appendChild(isNode ? argItem : document.createTextNode(String(argItem)));
            });
            this.appendChild(docFrag);
          }
        });
      });
    })([Element.prototype, Document.prototype, DocumentFragment.prototype]);
  </script>
  <style type="text/css">
    .padding6 {
      display: block;
      padding-top: 6Px;
    }

    #loginPaneWrapper {
      display: none;
    }
  </style>
  <input type="hidden" name="ctl00$cphContent$hdnUserName" id="cphContent_hdnUserName">
  <input type="hidden" name="ctl00$cphContent$hdnPleaseEnterUserName" id="cphContent_hdnPleaseEnterUserName" value="Please enter Username">
  <input type="hidden" name="ctl00$cphContent$hdnEnterUserNameLogin" id="cphContent_hdnEnterUserNameLogin" value="Please enter Username">
  <input type="hidden" name="ctl00$cphContent$hdnEnterPasswordLogin" id="cphContent_hdnEnterPasswordLogin" value="Please enter a valid password.">
  <script type="text/javascript">
    //<![CDATA[
    appRootGlobal = '/v7/';
    imageUrlGlobal = '/v7/Includes/Images/'; //]]>
  </script>
</form>

Text Content

SIGN IN

Remember User Forgot Your Password? View Privacy


FORGOT PASSWORD?

Reset

Or, Contact us for help resetting your password.

Return to Sign