1<!DOCTYPE html> 2<html lang="en"> 3<head><head> 4 <link href="https://d5cxcejge1ybj.cloudfront.net/20240614193835/css/bootstrap.min.css" rel="stylesheet" 5 media="screen" /> 6 <link href="https://d5cxcejge1ybj.cloudfront.net/20240614193835/css/cognito-login.css" rel="stylesheet" 7 media="screen" /> 8 9 <title>Signin</title> 10 11
11<script src="https://d5cxcejge1ybj.cloudfront.net/20240614193835/js/amazon-cognito-advanced-security-data.min.js" ></script>
11 12
12<script> 13 function getAdvancedSecurityData(formReference) { 14 if (typeof AmazonCognitoAdvancedSecurityData === "undefined") { 15 return true; 16 } 17 18 // UserpoolId is not available on frontend for springboard. We do not use userPoolId 19 // anyway other than put in context data. 20 var userPoolId = ""; 21 var clientId = getUrlParameter("client_id"); 22 23 var username = ""; 24 var usernameInput = document.getElementsByName("username")[0]; 25 if (usernameInput && usernameInput.value) { 26 username = usernameInput.value; 27 } 28 29 var asfData = AmazonCognitoAdvancedSecurityData.getData(username, userPoolId, clientId); 30 if (typeof asfData === "undefined") { 31 return true; 32 } 33 34 if (formReference && formReference.cognitoAsfData) { 35 formReference.cognitoAsfData.value = asfData 36 } 37 38 return true; 39 } 40 41 function getUrlParameter(name) { 42 name = name.replace(/[\[]/, '\\[').replace(/[\]]/, '\\]'); 43 var regex = new RegExp('[\\?&]' + name + '=([^&#]*)'); 44 var results = regex.exec(location.search); 45 return results === null ? '' : decodeURIComponent(results[1].replace(/\+/g, ' ')); 46 } 47 48 function onSubmit(evt, formRef) { 49 formRef.querySelector('button[type="submit"]').disabled = true; 50 if (!!formRef.submitted) { 51 evt.preventDefault(); 52 return false; 53 } else { 54 formRef.submitted = true; 55 return getAdvancedSecurityData(formRef); 56 } 57 } 58 59 function onSubmitLoginForm (formRef) { 60 formRef.querySelector('input[name="signInSubmitButton"]').disabled = true; 61 getAdvancedSecurityData(formRef) 62 } 63</script>
63 64 65 <meta name="viewport" content="width=device-width, initial-scale=1"> 66</head></head> 67<body spellcheck="false"> 68 <div class="container"> 69 <div class="modal-dialog"> 70 <div class="modal-content background-customizable modal-content-mobile visible-xs visible-sm"> 71 <div><div> 72 <div class="banner-customizable"> 73 <center> 74 75 </center> 76 </div> 77 </div></div> 78 <div class="modal-body"> 79 <div><div> 80 81</div></div> 82 <div> 83 <div><div> 84 85</div></div> 86 <div><div> 87 88</div></div> 89 <div> 90 91 <div><div> 92 93 <Span class="textDescription-customizable ">Sign in with your username and password</Span> 94 <form action="/login?client_id=5necbqhah2vquvlnai90ogjc2k&response_type=code&scope=email+openid+phone&redirect_uri=https%3A%2F%2Fregistry.ebmt.org%2Fauth%2Fcallback&state=eyJvcmlnaW5hbFVybCI6Ii9jbGllbnQifQ%3D%3D" method="POST" name="cognitoSignInForm" 95 class="cognito-asf" onsubmit="onSubmitLoginForm(this);"><input type="hidden" name="_csrf" value="5d497b21-34c6-450a-9658-c4b02bb63de5"/> 96 <input type="hidden" name="_csrf" value="5d497b21-34c6-450a-9658-c4b02bb63de5" /> 97 98 99 100 101 <label for="signInFormUsername" class="label-customizable">Username</label> 102 <div> 103 104 105 <input id="signInFormUsername" name="username" type="text" class="form-control inputField-customizable" 106 placeholder="Username" autocapitalize="none" required value=""> 107 </div> 108 109 <label for="signInFormPassword" class="label-customizable">Password</label> 110 <div><input id="signInFormPassword" name="password" type="password" class="form-control inputField-customizable" 111 placeholder="Password" 112 required></div> 113 <input type="hidden" class="form-control inputField-customizable" name="cognitoAsfData"/> 114 <div> 115 <a class="redirect-customizable" href="/forgotPassword?client_id=5necbqhah2vquvlnai90ogjc2k&response_type=code&scope=email+openid+phone&redirect_uri=https%3A%2F%2Fregistry.ebmt.org%2Fauth%2Fcallback&state=eyJvcmlnaW5hbFVybCI6Ii9jbGllbnQifQ%3D%3D">Forgot your password?</a> 116 </div> 117 <input name="signInSubmitButton" type="Submit" value="Sign in" 118 class="btn btn-primary submitButton-customizable" aria-label="submit"/> 119 <br/> 120 <div> 121 <p class="redirect-customizable"><span>Need an account?</span> <a 122 href="/signup?client_id=5necbqhah2vquvlnai90ogjc2k&response_type=code&scope=email+openid+phone&redirect_uri=https%3A%2F%2Fregistry.ebmt.org%2Fauth%2Fcallback&state=eyJvcmlnaW5hbFVybCI6Ii9jbGllbnQifQ%3D%3D">Sign up</a></p> 123 </div> 124 </form> 125 126</div></div> 127 </div> 128 </div> 129 </div> 130 </div> 131 132 133 134 <div class="modal-content background-customizable modal-content-mobile visible-md visible-lg"> 135 <div><div> 136 <div class="banner-customizable"> 137 <center> 138 139 </center> 140 </div> 141 </div></div> 142 <div class="modal-body"> 143 <div><div> 144 145</div></div> 146 <div> 147 <div> 148 <div><div> 149 150</div></div> 151 <div><div> 152 153</div></div> 154 </div> 155 <div> 156 <div><div> 157 158 <Span class="textDescription-customizable ">
158Sign in with your username and password</Span> 159 <form action="/login?client_id=5necbqhah2vquvlnai90ogjc2k&response_type=code&scope=email+openid+phone&redirect_uri=https%3A%2F%2Fregistry.ebmt.org%2Fauth%2Fcallback&state=eyJvcmlnaW5hbFVybCI6Ii9jbGllbnQifQ%3D%3D" method="POST" name="cognitoSignInForm" 160 class="cognito-asf" onsubmit="onSubmitLoginForm(this);"><input type="hidden" name="_csrf" value="5d497b21-34c6-450a-9658-c4b02bb63de5"/> 161 <input type="hidden" name="_csrf" value="5d497b21-34c6-450a-9658-c4b02bb63de5" /> 162 163 164 165 166 <label for="signInFormUsername" class="label-customizable">Username</label> 167 <div> 168 169 170 <input id="signInFormUsername" name="username" type="text" class="form-control inputField-customizable" 171 placeholder="Username" autocapitalize="none" required value=""> 172 </div> 173 174 <label for="signInFormPassword" class="label-customizable">Password</label> 175 <div><input id="signInFormPassword" name="password" type="password" class="form-control inputField-customizable" 176 placeholder="Password" 177 required></div> 178 <input type="hidden" class="form-control inputField-customizable" name="cognitoAsfData"/> 179 <div> 180 <a class="redirect-customizable" href="/forgotPassword?client_id=5necbqhah2vquvlnai90ogjc2k&response_type=code&scope=email+openid+phone&redirect_uri=https%3A%2F%2Fregistry.ebmt.org%2Fauth%2Fcallback&state=eyJvcmlnaW5hbFVybCI6Ii9jbGllbnQifQ%3D%3D">Forgot your password?</a> 181 </div> 182 <input name="signInSubmitButton" type="Submit" value="Sign in" 183 class="btn btn-primary submitButton-customizable" aria-label="submit"/> 184 <br/> 185 <div> 186 <p class="redirect-customizable"><span>Need an account?</span> <a 187 href="/signup?client_id=5necbqhah2vquvlnai90ogjc2k&response_type=code&scope=email+openid+phone&redirect_uri=https%3A%2F%2Fregistry.ebmt.org%2Fauth%2Fcallback&state=eyJvcmlnaW5hbFVybCI6Ii9jbGllbnQifQ%3D%3D">Sign up</a></p> 188 </div> 189 </form> 190 191</div></div> 192 </div> 193 </div> 194 </div> 195 </div> 196 </div> 197 </div> 198
198<script> 199 document.addEventListener("DOMContentLoaded", function () { 200 var inputs = document.querySelectorAll("input"); 201 202 inputs.forEach((input) => { 203 input.addEventListener("input", function () { 204 var name = this.name; 205 var value = this.value; 206 var matchingInputs = document.querySelectorAll(`input[name="${name}"]`); 207 208 matchingInputs.forEach((match) => { 209 if (match !== this) { 210 match.value = value; 211 } 212 }); 213 }); 214 }); 215 }); 216</script>
216 217</body> 218 219</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.