Allowing for more characters in usernames (i.e. '-', '_', and '|')

This commit is contained in:
FractalParadigm 2025-03-11 19:43:38 -04:00
parent c7770a6f19
commit 53c95d9897
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ try { // Try opening the SQL database connection
<!-- THIS DIV IS FOR INPUT -->
<div id="textInputArea">
<label for="username" class="inputLabel" >Username:</label>
<input type="text" id="username" name="username" class="newLine" maxlength="30" oninput="usernameConfirm()" tabindex="1" pattern="[a-zA-Z0-9]*" required>
<input type="text" id="username" name="username" class="newLine" maxlength="30" oninput="usernameConfirm()" tabindex="1" pattern="[a-zA-Z0-9-_\|.]*" required>
<p id="confirmUsername"></p>
<label for="password" class="inputLabel newLine">Password:</label>
<input type="password" id="password" name="password" minlength="6" oninput="checkPasswordRequirements()" required/>

View File

@ -67,7 +67,7 @@ try { // Try opening the SQL database connection
<!-- THIS DIV IS FOR INPUT -->
<div id="textInputArea">
<label for="username" class="inputLabel">Username:</label>
<input type="text" id="username" name="username" class="newLine" maxlength="30" oninput="usernameConfirm()" tabindex="1" pattern="[a-zA-Z0-9]*" required>
<input type="text" id="username" name="username" class="newLine" maxlength="30" oninput="usernameConfirm()" tabindex="1" pattern="[a-zA-Z0-9-_\|.]*" required>
<p id="confirmUsername"></p>
<label for="password" class="inputLabel">Password:</label>
<input type="password" id="password" name="password" required oninput="checkPasswordRequirements()" tabindex="1">