Adjust reg messaging on settings.html
This commit is contained in:
parent
b529b41911
commit
dd61bd3af7
@ -91,8 +91,9 @@ async function register() { // Registers a device by sending POST request to API
|
||||
showDone();
|
||||
hideLoading();
|
||||
return;
|
||||
}
|
||||
log(`settings.register: Error: Fetch returned: ${res.status}`, "err")
|
||||
} else if (res.status == 403)
|
||||
log(`settings.register: Error: Fetch returned: ${res.body['errorCode']}`, "err")
|
||||
document.getElementsByName("eml")[0].placeholder = "Not Authorised";
|
||||
} else {
|
||||
logout()
|
||||
}
|
||||
|
@ -71,10 +71,10 @@
|
||||
<label>Register for Rail Staff Version:</label>
|
||||
<p id="reg_text">Enter your work email address:</p>
|
||||
<input type="text" maxlength="128" id="eml" name="eml" autocomplete="email" class="lookup-box" placeholder="Not yet available"><br>
|
||||
<p>Once you've registered you will receive an email with a link to create your access key.</p>
|
||||
<p>Your email address is not stored by OwlBoard, accounts do not contain any identifying information and are automatically removed after three months of inactivity.</p>
|
||||
<p>You can use the same email address again on multiple devices.</p>
|
||||
<p>One registration confirmation email will be sent which will include more details about your account</p>
|
||||
<p>Your address will not be stored</p>
|
||||
<p>If your domain is not authorised and you are a using a railway company email address,
|
||||
<a href="./issue.html">submit an issue</a> and it can be added.</p>
|
||||
<button onclick="register()" class="lookup-button" id="reg_button">Register</button>
|
||||
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user