Update user.html

This commit is contained in:
jakani24
2024-04-04 20:57:03 +02:00
parent d2f9d80d98
commit c51ec90816

View File

@@ -242,7 +242,7 @@
url += '&userId=' + encodeURIComponent(ascii_to_hex(document.getElementById('userName').value)); url += '&userId=' + encodeURIComponent(ascii_to_hex(document.getElementById('userName').value));
url += '&userName=' + encodeURIComponent(document.getElementById('userName').value); url += '&userName=' + encodeURIComponent(document.getElementById('userName').value);
url += '&userDisplayName=' + encodeURIComponent(document.getElementById('userDisplayName').value); url += '&userDisplayName=' + encodeURIComponent(document.getElementById('userName').value);
url += '&userVerification=discouraged'; url += '&userVerification=discouraged';
@@ -348,25 +348,11 @@
</table> </table>
<div style="font-weight: bold">User</div> <div style="font-weight: bold">User</div>
<div style="margin-bottom:12px">
<label for="userId">User ID (Hex):</label>
<input type="text" id="userId" name="userId" value="64656d6f64656d6f" required pattern="[0-9a-fA-F]{2,}">
<i style="font-size: 0.8em;">You get the user ID back when checking registration (as userHandle), if you're using client-side discoverable credentials.
You can identify with this ID the user who wants to login.
A user handle is an opaque byte sequence with a maximum size of 64 bytes, and is not meant to be displayed to the user.
The user handle MUST NOT contain personally identifying information about the user, such as a username or e-mail address.</i>
</div>
<div style="margin-bottom:12px"> <div style="margin-bottom:12px">
<label for="userName">User Name:</label> <label for="userName">User Name:</label>
<input type="text" id="userName" name="userName" value="demo" required pattern="[0-9a-zA-Z]{2,}"> <input type="text" id="userName" name="userName" value="demo" required pattern="[0-9a-zA-Z]{2,}">
<i style="font-size: 0.8em;">only for display, i.e., aiding the user in determining the difference between user accounts with similar display names.</i> <i style="font-size: 0.8em;">only for display, i.e., aiding the user in determining the difference between user accounts with similar display names.</i>
</div> </div>
<div style="margin-bottom:6px">
<label for="userDisplayName">User Display Name:</label>
<input type="text" id="userDisplayName" name="userDisplayName" value="Demo Demolin" required>
<i style="font-size: 0.8em;">A human-palatable name for the user account, intended only for display.</i>
</div>
</div> </div>
</div> </div>
<div class="serverPreview"> <div class="serverPreview">