suncadia.ownerrelations.com
Open in
urlscan Pro
69.90.198.246
Public Scan
URL:
https://suncadia.ownerrelations.com/
Submission: On December 05 via api from US — Scanned from US
Submission: On December 05 via api from US — Scanned from US
Form analysis
1 forms found in the DOMPOST ./
<form method="post" action="./" id="Form2">
<div class="aspNetHidden">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
value="/wEPDwUKMTYzMjUxNTEzMQ9kFggCAg8PFgIeBFRleHQFfjxpbWcgYWx0PSIiIHN0eWxlPSdtYXJnaW46IDBweCAyMHB4IDBweCAyMHB4OyB3aWR0aDogMTAwJTsgaGVpZ2h0OiAyNDdweDsgb2JqZWN0LWZpdDogY29udGFpbicgc3JjPSIuLi9pbWFnZXMvT3duZXJQb3J0YWwvIiAvPmRkAgQPZBYCAgEPZBYCZg8PFgYeCENzc0NsYXNzZB8AZB4EXyFTQgICZGQCBg8PFgIfAAVxPGltZyBhbHQ9InJlc29ydC1pbWFnZS1jb3ZlciIgc3R5bGU9IndpZHRoOiAxMDAlOyBoZWlnaHQ6IDEwMCU7IG9iamVjdC1maXQ6IGNvdmVyOyIgc3JjPSIuLi9pbWFnZXMvT3duZXJQb3J0YWwvIj5kZAIID2QWBGYPDxYCHwAFBDIwMjNkZAICDw8WAh8ABR8mY29weTsgMjAyMyBPd25lclJlbGF0aW9ucy5jb20gZGQYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFggFGlVjX093bmVyTG9naW4xJGNoa1JlbWVtYmVyBR1VY19Pd25lckxvZ2luMSRyZG9BY3RpdmVFbWFpbAUbVWNfT3duZXJMb2dpbjEkcmRvQWN0aXZlU01TBRtVY19Pd25lckxvZ2luMSRyZG9BY3RpdmVTTVMFHlVjX093bmVyTG9naW4xJHJkb0VtYWlsQWRkcmVzcwUeVWNfT3duZXJMb2dpbjEkcmRvRW1haWxBZGRyZXNzBRVVY19Pd25lckxvZ2luMSRyZG9TTVMFFVVjX093bmVyTG9naW4xJHJkb1NNU5BGh/NlLReoEdu/m55DQmb2V7+R5YGrC2qKq+eGJpN6">
</div>
<div class="aspNetHidden">
<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="90059987">
<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION"
value="/wEdACLsQm10z1Fq/cBGYGB+0sLEHuaT6IvkkO4kzFz5HXZAtKuRHFyeYT8DMvkxtMMXBFzlY+hIiHSkw7dETAsL19ddCsyk89GKIbqk451og3f1KWci4XRoDVPDve+cJJAKMxJ2det5LfiGO9eQyA8kfOq5SQERWF+gWkQnGpof+mTqMfUXe/l8YXSvGbsnSN8+jKKLns5/R5BwI4U2Uivi/xaoecmMpsXGgxlfmV7AHazGu6dqEgtSdMpcjiR7E5ZXrq0DzVaLKWhHhJBHjI/SFwRwDs0/GNSIxmXN+HEclwJeF+8PcZu+L8CMf4M/1lPjzVZ/Hn/IgXdEIyHXQvCAuTUAUj6Sr+cOszoW+hGopCWzBHwIwRbjMcXYyZ26jKC3WySESgN6HskVONkQkyRDHaZUJyNb+55qbm4ilY5DfXdTxGPpF7j4E4ZH+yzk1OaMRu77Utk2E70wZ+dWPN8Q9mYrCQNWYMmkPalfNaDiLT7ZjAg0kqEEvR0aaLUckhO6dzOqzD6i0rRIgYCuXQQk3fhKLT7VsMiUoBve5wgPcYyBWMLhs0jQM8kktmEMRiw1+w8DOmnj4Ya0m+mEvtJSRhcfzfukW9RTjqEoLayauQDjNMSWO41i0+M/NfQyAIiPPxn8XR8UJuM32SdAHrmM1Ngi14TyzERPaY38cwWp1yJri6cx5sqUsWB1IkBovPHVwzNAWkK6chp9SsYFr8Oxy84mBadMtlF7VAoTM8XqSl/TETmMut52x4y5uAz11A5lD4A=">
</div>
<span id="Uc_OwnerLogin1_lblResults"></span>
<input type="hidden" name="Uc_OwnerLogin1$hfOwner_Id" id="Uc_OwnerLogin1_hfOwner_Id" value="0">
<input type="hidden" name="Uc_OwnerLogin1$hf_ownercookieguid" id="Uc_OwnerLogin1_hf_ownercookieguid" value="0">
<input type="hidden" name="Uc_OwnerLogin1$hf_ResortId" id="Uc_OwnerLogin1_hf_ResortId" value="0">
<input type="hidden" name="Uc_OwnerLogin1$hf_OwnerSessionLength" id="Uc_OwnerLogin1_hf_OwnerSessionLength" value="0">
<input type="hidden" name="Uc_OwnerLogin1$hf_MfaId" id="Uc_OwnerLogin1_hf_MfaId" value="0">
<input type="hidden" name="Uc_OwnerLogin1$hf_mfa_code_length" id="Uc_OwnerLogin1_hf_mfa_code_length" value="0">
<input type="hidden" name="Uc_OwnerLogin1$hf_mfa_code_strength_level" id="Uc_OwnerLogin1_hf_mfa_code_strength_level" value="0">
<input type="hidden" name="Uc_OwnerLogin1$hf_username" id="Uc_OwnerLogin1_hf_username" value="0">
<input type="hidden" name="Uc_OwnerLogin1$hf_resemail" id="Uc_OwnerLogin1_hf_resemail" value="0">
<input type="hidden" name="Uc_OwnerLogin1$hfuser_email" id="Uc_OwnerLogin1_hfuser_email" value="0">
<style>
.fade.in {
opacity: 1;
}
.label_size {
font-size: 14px !important;
text-align: left;
}
label.control-label.col-sm-4 {
padding-top: 7px;
text-align: center;
font-weight: bold;
}
</style>
<div id="Uc_OwnerLogin1_pnlLogin" style="width:100%;">
<div class="container-fluid">
<div class="row">
<div class="col-12 col-sm-2 d-flex justify-content-center">
<h4 id="Uc_OwnerLogin1_lblLogin" class="h4 text-center">Owner Login</h4>
</div>
<div class="col-12 col-sm-10">
<div class="row d-flex justify-content-center">
<div class="col-10 col-sm-3">
<input name="Uc_OwnerLogin1$txtUsername" type="text" id="Uc_OwnerLogin1_txtUsername" tabindex="97" placeholder="USERNAME" class="form-control">
</div>
<div class="col-10 col-sm-3">
<input name="Uc_OwnerLogin1$txtPassword" type="password" id="Uc_OwnerLogin1_txtPassword" tabindex="98" placeholder="PASSWORD" class="form-control">
</div>
<div class="col-sm-4"></div>
</div>
<div class="row d-flex justify-content-center">
<div class="col-9 col-sm-3 ">
<span id="Uc_OwnerLogin1_lblRememberMe"></span> <span style="font-size:Smaller;"><input id="Uc_OwnerLogin1_chkRemember" type="checkbox" name="Uc_OwnerLogin1$chkRemember"><label for="Uc_OwnerLogin1_chkRemember">Remember
Me</label></span>
</div>
<div class="col-9 col-sm-7">
<div>Forgotten your password? <a href="password_recovery.aspx">click here</a></div>
</div>
</div>
<div class="row d-flex justify-content-center">
<div class="col-9 col-sm-10">
<div class="g-recaptcha" data-sitekey="6LfMQlEdAAAAAF7Sia8H6if9HrTFsQ27Zj7dnbgx" data-callback="correctCaptcha">
<div style="width: 304px; height: 78px;">
<div><iframe title="reCAPTCHA" width="304" height="78" role="presentation" name="a-83ju5d4ntvt5" frameborder="0" scrolling="no"
sandbox="allow-forms allow-popups allow-same-origin allow-scripts allow-top-navigation allow-modals allow-popups-to-escape-sandbox allow-storage-access-by-user-activation"
src="https://www.google.com/recaptcha/api2/anchor?ar=1&k=6LfMQlEdAAAAAF7Sia8H6if9HrTFsQ27Zj7dnbgx&co=aHR0cHM6Ly9zdW5jYWRpYS5vd25lcnJlbGF0aW9ucy5jb206NDQz&hl=en&v=-QbJqHfGOUB8nuVRLvzFLVed&size=normal&cb=dmnfv0p728w9"></iframe>
</div><textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response"
style="width: 250px; height: 40px; border: 1px solid rgb(193, 193, 193); margin: 10px 25px; padding: 0px; resize: none; display: none;"></textarea>
</div><iframe style="display: none;"></iframe>
</div>
</div>
</div>
<div class="row d-flex justify-content-center" style="margin-top: 8px">
<div class="col-10 col-sm-2">
<input type="submit" name="Uc_OwnerLogin1$btnLogin" value="SIGN IN" onclick="checkTempPass(); return false;" id="Uc_OwnerLogin1_btnLogin" tabindex="99" class="btn btn-primary" style="width:100%">
<input type="submit" name="Uc_OwnerLogin1$btnLoginMain" value="Login Now" id="Uc_OwnerLogin1_btnLoginMain" tabindex="99" class="btn btn-primary" style="display: none">
<input type="submit" name="Uc_OwnerLogin1$btnLoginViaCode" value="" id="Uc_OwnerLogin1_btnLoginViaCode" tabindex="99" class="Fldbtn" style="display: none">
<input type="submit" name="Uc_OwnerLogin1$btnLoginResendCode" value="" id="Uc_OwnerLogin1_btnLoginResendCode" tabindex="99" class="Fldbtn" style="display: none">
</div>
<div class="col-12 col-sm-8"></div>
</div>
</div>
</div>
</div>
<div id="modalResetPassword" data-backdrop="static" class="modal fade" style="z-index: 9999;">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<div>
<h2 class="modal-title" style="font-size: 24px; font-weight: bold">Reset Password</h2>
</div>
<button type="button" class="close" data-dismiss="modal" aria-label="Close" id="btnClose">×</button>
</div>
<div class="modal-body" style="font-size: 15px;">
<div class="form-group">
<div class="col-sm-12" id="val-mssg">
</div>
</div>
<div class="form-group row" style="display: none">
<label class="control-label col-sm-4" for="year">Email Address:</label>
<div class="col-sm-7">
<input name="Uc_OwnerLogin1$txtEmailAddress" type="text" id="Uc_OwnerLogin1_txtEmailAddress" class="form-control">
</div>
</div>
<div class="form-group row" style="display: none">
<label class="control-label col-sm-4" for="year">Cell Number:</label>
<div class="col-sm-7">
<input name="Uc_OwnerLogin1$txtCellNumber" type="text" id="Uc_OwnerLogin1_txtCellNumber" class="form-control">
</div>
</div>
<div class="form-group row">
<label class="control-label col-sm-4" for="year">New password:</label>
<div class="col-sm-7">
<input name="Uc_OwnerLogin1$txtOldPassword" id="Uc_OwnerLogin1_txtOldPassword" class="form-control" type="password" style="display: none">
<input name="Uc_OwnerLogin1$txtNewPassword" id="Uc_OwnerLogin1_txtNewPassword" class="form-control" type="password">
</div>
</div>
<div class="form-group row">
<label class="control-label col-sm-4" for="year">Confirm password:</label>
<div class="col-sm-7">
<input name="Uc_OwnerLogin1$txtCnfrmPassword" id="Uc_OwnerLogin1_txtCnfrmPassword" class="form-control" type="password">
</div>
</div>
</div>
<div class="modal-footer">
<div class="form-group">
<div class="col-sm-4"></div>
<div class="col-sm-4" style="text-align: left">
<input type="submit" name="Uc_OwnerLogin1$btnChangePassword" value="Save" id="Uc_OwnerLogin1_btnChangePassword" tabindex="99" class="btn btn-primary">
</div>
</div>
</div>
</div>
</div>
</div>
<div id="modalRandomCode" data-backdrop="static" class="modal fade" style="z-index: 9999; padding: 10% 10% 10% 19px">
<div class="modal-dialog" style="width: 450px">
<div class="modal-content">
<div class="modal-header">
<div>
<h2 class="modal-title" style="font-size: 20px; font-weight: bold">Verification code</h2>
</div>
<button type="button" class="close" data-dismiss="modal" aria-label="Close" id="btnCloseCode">×</button>
</div>
<div class="modal-body" style="font-size: 15px;">
<div class="form-group">
<div class="col-sm-12">
<span id="Uc_OwnerLogin1_lblCode_Validation" class="Results col-sm-12 mb-3"></span>
<input name="Uc_OwnerLogin1$txtValidationcode" type="text" id="Uc_OwnerLogin1_txtValidationcode" placeholder="validation code" class="form-control" autocomplete="off">
</div>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-primary resend" onclick="SendAndValidate();return false" style="display: none;">Resend</button>
<button class="btn btn-primary" onclick="ValidateCode();return false">Submit</button>
</div>
</div>
</div>
</div>
<div id="modalConfirmation" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<div>
<h2 class="modal-title" id="exampleModalLabel">Choose Confirmation Method</h2>
</div>
<button type="button" class="close" data-dismiss="modal" aria-label="Close" id="Button1">×</button>
</div>
<div class="modal-body">
<div class="col-sm-12">
<span id="Uc_OwnerLogin1_lblisValidMobileNumber" class="Results col-sm-12 mb-3"></span>
</div>
<div class="form-group row">
<label class="control-label col-sm-4" for="year">Send code using:</label>
<div class="FormData" style="padding-top: 9px">
<input id="rdoActiveEmail" type="radio" name="Uc_OwnerLogin1$active" value="rdoActiveEmail" checked="checked" onclick="rdoButtonCheckedEmail();"><label for="rdoActiveEmail">Email</label> <input id="rdoActiveSMS" type="radio"
name="Uc_OwnerLogin1$active" value="rdoActiveSMS" onclick="rdoButtonCheckedSMS();"><label for="rdoActiveSMS">SMS</label>
</div>
</div>
<div class="form-group row">
<span id="Uc_OwnerLogin1_lblrdoMessageEmail" class="control-label col-12" style="text-align: center"></span>
<span id="Uc_OwnerLogin1_lblrdoMessageSMS" class="control-label col-12 " style="text-align: center"></span>
<span id="Uc_OwnerLogin1_lblNotAssociated" class="control-label col-12 " style="text-align: center"></span>
</div>
</div>
<div class="modal-footer">
<div class="form-group">
<input type="submit" name="Uc_OwnerLogin1$btnConfirmation" value="Submit" id="Uc_OwnerLogin1_btnConfirmation" tabindex="99" class="btn btn-primary">
</div>
</div>
</div>
</div>
</div>
<div id="modalConfirmationSMSOrEmail" data-backdrop="static" class="modal fade" style="z-index: 9999; padding: 10% 10% 10% 19px">
<div class="modal-dialog" style="width: 900px">
<div class="modal-content">
<div class="modal-header">
<div>
<h2 class="modal-title" style="font-size: 20px; font-weight: bold">Choose Confirmation Method</h2>
</div>
<button type="button" class="close" data-dismiss="modal" aria-label="Close" id="Button2">×</button>
</div>
<div class="modal-body" style="font-size: 15px;">
<span id="Uc_OwnerLogin1_lblSMSOrEmail" class="Results col-sm-12 mb-3"></span>
<div class="form-group row">
<label class="control-label col-sm-4" for="year">Send code using:</label>
<div class="FormData" style="padding-top: 9px">
<input id="Uc_OwnerLogin1_rdoEmailAddress" type="radio" name="Uc_OwnerLogin1$active" value="rdoEmailAddress" onclick="rdoButtonCheckedEmail();"><label for="Uc_OwnerLogin1_rdoEmailAddress">Email</label> <input
id="Uc_OwnerLogin1_rdoSMS" type="radio" name="Uc_OwnerLogin1$active" value="rdoSMS" onclick="rdoButtonCheckedSMS();"><label for="Uc_OwnerLogin1_rdoSMS">SMS</label>
</div>
</div>
<p>
</p>
<div id="pnlEmailAddress" style="width:100%;">
<table class="otable" id="EmailAddress" cellspacing="0" cellpadding="3" width="100%" border="0">
<tbody>
<tr>
<td class="odataright" width="25%" style="font-weight: bold; text-align: right">
<span id="Uc_OwnerLogin1_lblEmailAddress">Email Address:</span>
</td>
<td class="odataleft">
<input name="Uc_OwnerLogin1$txtEmlAddress" type="text" id="Uc_OwnerLogin1_txtEmlAddress" class="form-control">
</td>
</tr>
</tbody>
</table>
</div>
<p></p>
<p>
</p>
<div id="pnlSMS" style="width:100%;">
<table class="otable" id="SMS" cellspacing="0" cellpadding="3" width="100%" border="0">
<tbody>
<tr>
<td class="odataright" width="25%" style="font-weight: bold; text-align: right">
<span id="Uc_OwnerLogin1_lblSMS">SMS:</span>
</td>
<td class="odataleft">
<input name="Uc_OwnerLogin1$txtSMS" type="text" id="Uc_OwnerLogin1_txtSMS" class="form-control">
</td>
</tr>
</tbody>
</table>
</div>
<p></p>
</div>
<div class="modal-footer">
<div class="form-group">
<button class="btn btn-primary" onclick="btnFinalProcess();return false">Submit</button>
</div>
</div>
</div>
</div>
</div>
<div id="modalFinalConfirmation" data-backdrop="static" class="modal fade" style="z-index: 9999; padding: 10% 10% 10% 19px">
<div class="modal-dialog" style="width: 450px">
<div class="modal-content">
<div class="modal-header">
<div>
<h2 class="modal-title" style="font-size: 20px; font-weight: bold">Verification code</h2>
</div>
<button type="button" class="close" data-dismiss="modal" aria-label="Close" id="Button3">×</button>
</div>
<div class="modal-body" style="font-size: 15px;">
<div class="form-group">
<div class="col-sm-12">
<span id="Uc_OwnerLogin1_lblCode_ValidationFinalConfirmation" class="Results col-sm-12 mb-3"></span>
<input name="Uc_OwnerLogin1$txtValidationFinalConfirmation" type="text" id="Uc_OwnerLogin1_txtValidationFinalConfirmation" placeholder="validation code" class="form-control" autocomplete="off">
</div>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-primary" onclick="ValidateCodeWithEntries();return false">Submit</button>
<button class="btn btn-primary resend" onclick="SendCodeAndValidate();return false" style="display: none;">Resend</button>
<input type="submit" name="Uc_OwnerLogin1$btnUpdateRecords" value="" id="Uc_OwnerLogin1_btnUpdateRecords" tabindex="99" class="Fldbtn" style="display: none">
</div>
</div>
</div>
</div>
</div>
<script src="https://www.google.com/recaptcha/api.js" async="" defer=""></script>
<script type="text/javascript">
var responseCaptcha = "";
var correctCaptcha = function(response) {
responseCaptcha = response;
};
function BootStrapAlert(validation, id, style) {
if ($("#lbl-mssg").length == 0) {
$(id).append("<label id='lbl-mssg' class= 'label_size'></label>");
}
var message = "<i class='fa fa-" + style + "'></i> " + validation + " <button type='button' class='close' data-dismiss='alert' aria-label='Close' style='top:-2px'><span aria-hidden='true'>×</span></button>";
$("#lbl-mssg").html(message);
$("#lbl-mssg").addClass('alert w-100 alert-' + style + ' alert-dismissible fade in font2');
$("#lbl-mssg").css("font-size", "14px");
}
function checkTempPass() {
$('#Uc_OwnerLogin1_lblResults').html("");
$('#Uc_OwnerLogin1_lblResults').removeClass();
var $confirm = $("#modalResetPassword");
var username = $('#Uc_OwnerLogin1_txtUsername').val();
var password = $('#Uc_OwnerLogin1_txtPassword').val();
var obj = {};
obj.UserName = username;
obj.Password = password;
obj.responseCaptcha = responseCaptcha;
$.ajax({
type: "POST",
url: "/index.aspx/CheckIfTempPassword",
data: JSON.stringify(obj),
contentType: "application/json; charset=utf-8",
dataType: "json",
async: "false",
cache: "false",
success: function(data) {
if (data.d.Result.indexOf("Password is temporary.") > -1) {
$('#Uc_OwnerLogin1_txtOldPassword').val(password);
$('#Uc_OwnerLogin1_txtNewPassword').val("");
$('#Uc_OwnerLogin1_txtCnfrmPassword').val("");
$('#Uc_OwnerLogin1_txtEmailAddress').val(data.d.EmailAddress)
$('#Uc_OwnerLogin1_txtCellNumber').val(data.d.PhoneNumber)
$confirm.modal('show');
} else if (data.d.Result.indexOf("expired") > -1) {
BootStrapAlert(data.d.Result, '#Uc_OwnerLogin1_lblResults', 'warning');
} else if (data.d.Result.indexOf("Invalid captcha") > -1) {
BootStrapAlert(data.d.Result, '#Uc_OwnerLogin1_lblResults', 'warning');
} else {
$('#Uc_OwnerLogin1_btnLoginMain').trigger("click");
}
},
Error: function(x, e) {}
});
}
function ValidateCode() {
var obj = {};
obj.SentCode = $("#Uc_OwnerLogin1_txtValidationcode").val();
if (obj.SentCode == "") {
BootStrapAlert("Please enter verification code", '#Uc_OwnerLogin1_lblCode_Validation', 'warning');
} else {
obj.Owner_id = $("#Uc_OwnerLogin1_hfOwner_Id").val();
obj.ownercookieguid = $("#Uc_OwnerLogin1_hf_ownercookieguid").val();
$.ajax({
type: "POST",
url: "/index.aspx/ValidateCode",
data: JSON.stringify(obj),
contentType: "application/json; charset=utf-8",
dataType: "json",
async: "false",
cache: "false",
success: function(data) {
if (data.d) {
$('#Uc_OwnerLogin1_btnLoginViaCode').trigger("click");
} else {
BootStrapAlert("Would like to have the code sent again?", '#Uc_OwnerLogin1_lblCode_Validation', 'warning');
$('.resend').removeAttr("style");
}
},
Error: function(x, e) {}
});
}
}
function rdoButtonCheckedEmail() {
$('#Uc_OwnerLogin1_lblrdoMessageSMS').hide();
$('#Uc_OwnerLogin1_lblisValidMobileNumber').hide();
$('#Uc_OwnerLogin1_lblrdoMessageEmail').show();
$('#Uc_OwnerLogin1_btnConfirmation').removeAttr('disabled');
}
function rdoButtonCheckedSMS() {
$('#Uc_OwnerLogin1_lblrdoMessageEmail').hide();
if (varIsValidMobileNumber == "True") {
$('#Uc_OwnerLogin1_lblisValidMobileNumber').hide();
$('#Uc_OwnerLogin1_lblrdoMessageSMS').show();
$('#Uc_OwnerLogin1_btnConfirmation').removeAttr('disabled');
} else {
$('#Uc_OwnerLogin1_lblrdoMessageSMS').hide();
$('#Uc_OwnerLogin1_lblisValidMobileNumber').show();
$('#Uc_OwnerLogin1_btnConfirmation').prop('disabled', true);
}
}
function SendAndValidate() {
$('.resend').attr("style", "display:none");
$('#Uc_OwnerLogin1_btnLoginResendCode').trigger("click");
}
var varIsValidMobileNumber = ""
function GetConfirmationModal(owner_id, resort_id, Result, mfa_id, mfa_code_length, mfa_code_strength_level, mfa_owner_session_length, ownerEmail, phnNumber, isValidMobileNumber) {
varIsValidMobileNumber = isValidMobileNumber;
$("#Uc_OwnerLogin1_hfOwner_Id").val(owner_id);
$("#Uc_OwnerLogin1_hf_ResortId").val(resort_id);
$("#Uc_OwnerLogin1_hf_MfaId").val(mfa_id);
$("#Uc_OwnerLogin1_hf_mfa_code_length").val(mfa_code_length);
$("#Uc_OwnerLogin1_hf_mfa_code_strength_level").val(mfa_code_strength_level);
$("#Uc_OwnerLogin1_hf_OwnerSessionLength").val(mfa_owner_session_length);
var maskid = "";
var myemailId = ownerEmail;
var prefix = myemailId.substring(0, myemailId.lastIndexOf("@"));
var postfix = myemailId.substring(myemailId.lastIndexOf("@"));
for (var i = 0; i < prefix.length; i++) {
if (i == 0 || i == prefix.length - 1) { ////////
maskid = maskid + prefix[i].toString();
} else {
maskid = maskid + "x";
}
}
//maskid = maskid + postfix;
maskid = maskid;
var maskidsecond = ""
var prefixx = myemailId.substring(myemailId.lastIndexOf("@"));
var postfixx = myemailId.substring(myemailId.lastIndexOf("."));
for (var i = 0; i < prefixx.length; i++) {
if (i == 0 || i == prefixx.length - 1) { ////////
maskidsecond = maskidsecond + prefixx[i].toString();
} else {
maskidsecond = maskidsecond + "x";
}
}
maskidsecond = maskidsecond
var finalMaskId = ""
finalMaskId = maskid + maskidsecond
$("#Uc_OwnerLogin1_lblrdoMessageEmail").text("Verification code will send to email: " + finalMaskId);
if (isValidMobileNumber == "True") {
var userContactNumber = phnNumber.replace(/.(?=.{4})/g, 'x');
$("#Uc_OwnerLogin1_lblrdoMessageSMS").text("Verification code will send to phone number ending in: " + userContactNumber)
} else {
BootStrapAlert("Phone number is invalid. Please select another way to proceed", '#Uc_OwnerLogin1_lblisValidMobileNumber', 'warning');
}
$('#rdoActiveEmail').prop('checked', true);
$('#rdoActiveSMS').prop('checked', false);
$('#Uc_OwnerLogin1_lblrdoMessageEmail').show();
$('#Uc_OwnerLogin1_lblrdoMessageSMS').hide();
$("#Uc_OwnerLogin1_lblisValidMobileNumber").hide();
if (phnNumber == undefined || phnNumber == "") {
$('#rdoActiveSMS').hide();
$('label[For= "rdoActiveSMS"]').css('display', 'none');
}
if (ownerEmail == undefined || ownerEmail == "") {
$('#rdoActiveEmail').hide();
$('label[For= "rdoActiveEmail"]').css('display', 'none');
$('#Uc_OwnerLogin1_lblrdoMessageEmail').hide();
$('#rdoActiveSMS').prop('checked', true);
if (varIsValidMobileNumber == "True") {
$('#Uc_OwnerLogin1_lblrdoMessageSMS').show();
$('#Uc_OwnerLogin1_btnConfirmation').removeAttr('disabled');
} else {
$("#Uc_OwnerLogin1_lblisValidMobileNumber").show();
$('#Uc_OwnerLogin1_btnConfirmation').prop('disabled', true);
}
}
if (ownerEmail == "" && phnNumber == "") {
$('#rdoActiveSMS').hide();
$('label[For= "rdoActiveSMS"]').css('display', 'none');
$('#rdoActiveEmail').hide();
$('label[For= "rdoActiveEmail"]').css('display', 'none');
$("#Uc_OwnerLogin1_lblNotAssociated").text("There is no Email and Phone Number associated with this owner to send MFA code. Please contact with Administrator.")
$('label[For= "year"]').css('display', 'none');
$('#Uc_OwnerLogin1_btnConfirmation').hide();
$("#Uc_OwnerLogin1_lblisValidMobileNumber").hide();
}
$("#modalConfirmation").modal('show');
};
function GetVerificationModal(owner_id, resort_id, Result, mfa_id) {
$("#modalConfirmation").modal('hide');
$("#Uc_OwnerLogin1_lblCode_Validation").val('');
if (parseInt(Result) == 1) {
BootStrapAlert("Code Sent & Expired Session", '#Uc_OwnerLogin1_lblCode_Validation', 'warning');
}
if (parseInt(Result) == 2) {
BootStrapAlert("Code Sent", '#Uc_OwnerLogin1_lblCode_Validation', 'info');
}
if (parseInt(Result) == 3) {
BootStrapAlert("Write sent verification code ", '#Uc_OwnerLogin1_lblCode_Validation', 'info');
}
$("#Uc_OwnerLogin1_txtValidationcode").val('');
$("#modalRandomCode").modal('show');
$("#Uc_OwnerLogin1_hfOwner_Id").val(owner_id);
$("#Uc_OwnerLogin1_hf_ResortId").val(resort_id);
$("#Uc_OwnerLogin1_hf_MfaId").val(mfa_id);
};
function btnFinalProcess() {
var obj = {};
obj.OwnerPassword = txtConfirmPassword;
obj.OwnerEmailAddress = $('#Uc_OwnerLogin1_txtEmlAddress').val();
obj.OwnerContactNumber = $('#Uc_OwnerLogin1_txtSMS').val();
obj.EmailActive = $('#Uc_OwnerLogin1_rdoEmailAddress').is(":checked");
obj.SMSActive = $('#Uc_OwnerLogin1_rdoSMS').is(":checked");
obj.UserCookieId = $("#Uc_OwnerLogin1_hf_ownercookieguid").val();
obj.OwnerId = owner_Id;
if (obj.EmailActive == true && $('#Uc_OwnerLogin1_txtEmlAddress').val() == '') {
BootStrapAlert('Pleae fill Email Address.', '#Uc_OwnerLogin1_lblSMSOrEmail', 'warning');
return false;
}
if (obj.SMSActive == true && $('#Uc_OwnerLogin1_txtSMS').val() == '') {
BootStrapAlert('Please fill Contact Number.', '#Uc_OwnerLogin1_lblSMSOrEmail', 'warning');
return false;
}
if (obj.EmailActive == false && obj.SMSActive == false) {
BootStrapAlert('Please select atleast one Method', '#Uc_OwnerLogin1_lblSMSOrEmail', 'warning');
return false;
}
$.ajax({
type: "POST",
url: "/index.aspx/SendCode",
data: JSON.stringify(obj),
contentType: "application/json; charset=utf-8",
dataType: "json",
async: "false",
cache: "false",
success: function(data) {
if (data.d === '') {
$("#modalFinalConfirmation").modal('show');
BootStrapAlert('Verification Code sent', '#Uc_OwnerLogin1_lblCode_ValidationFinalConfirmation', 'success');
$("#modalConfirmationSMSOrEmail").modal('hide');
} else {
BootStrapAlert(data.d, '#Uc_OwnerLogin1_lblSMSOrEmail', 'danger');
return false;
}
},
Error: function(x, e) {}
});
}
function ValidateCodeWithEntries() {
var obj = {};
obj.SentCode = $("#Uc_OwnerLogin1_txtValidationFinalConfirmation").val();
obj.Owner_id = $("#Uc_OwnerLogin1_hfOwner_Id").val();
obj.ownercookieguid = $("#Uc_OwnerLogin1_hf_ownercookieguid").val();
$.ajax({
type: "POST",
url: "/index.aspx/ValidateCode",
data: JSON.stringify(obj),
contentType: "application/json; charset=utf-8",
dataType: "json",
async: "false",
cache: "false",
success: function(data) {
if (data.d) {
$('#Uc_OwnerLogin1_btnUpdateRecords').trigger("click");
} else {
BootStrapAlert("Would like to have the code sent again?", '#Uc_OwnerLogin1_lblCode_ValidationFinalConfirmation', 'warning');
$('.resend').removeAttr("style");
}
},
Error: function(x, e) {}
});
}
function SendCodeAndValidate() {
$('.resend').attr("style", "display:none");
btnFinalProcess();
}
$('#Uc_OwnerLogin1_btnChangePassword').click(function() {
if ($('#Uc_OwnerLogin1_txtNewPassword').val() == "") {
BootStrapAlert('New password required.', '#val-mssg', 'warning');
return false;
}
if (!$('#Uc_OwnerLogin1_txtNewPassword').val().match(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[A-Za-z\d$@$!%*?&]{8,}/)) {
//BootStrapAlert('New Password must be at least 8 characters, must include at least one upper case letter, one lower case letter and one numeric digit.', '#val-mssg', 'warning');
BootStrapAlert('New Password must be at least 12 characters, must include at least one upper case letter, one lower case letter and one numeric digit.', '#val-mssg', 'warning');
return false;
}
if ($('#Uc_OwnerLogin1_txtNewPassword').val() != $('#Uc_OwnerLogin1_txtCnfrmPassword').val()) {
BootStrapAlert('New password and Confirm password does not match.', '#val-mssg', 'warning');
return false;
}
if ($('#Uc_OwnerLogin1_txtNewPassword').val().match("'")) {
BootStrapAlert("This ( ' ) Special Charactor is not allowed", '#val-mssg', 'warning');
return false;
}
});
</script>
</form>
Text Content
OWNER LOGIN Remember Me Forgotten your password? click here RESET PASSWORD × Email Address: Cell Number: New password: Confirm password: VERIFICATION CODE × Resend Submit CHOOSE CONFIRMATION METHOD × Send code using: Email SMS CHOOSE CONFIRMATION METHOD × Send code using: Email SMS Email Address: SMS: Submit VERIFICATION CODE × Submit Resend © 2023 OwnerRelations.com