Skip to content

Commit

Permalink
Added WiFi password regex
Browse files Browse the repository at this point in the history
  • Loading branch information
AronHetLam authored Jul 10, 2020
1 parent b5a8842 commit 368482f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ <h2>Settings:</h2>
</tr>
<tr>
<td>Network password: </td>
<td><input type="password" size="30" maxlength="30" name="pwd" value="@">
<td><input type="password" size="30" maxlength="30" name="pwd" pattern="^$|.{8,32}" value="@">
</td>
</tr>
<tr>
Expand Down Expand Up @@ -242,4 +242,4 @@ <h2>Settings:</h2>
</table>
</body>

</html>
</html>

0 comments on commit 368482f

Please sign in to comment.