drop max code length to 4

This commit is contained in:
Finn 2024-11-26 13:48:19 -08:00
parent 1340b3167f
commit e9a8b60abd

View file

@ -19,7 +19,7 @@
<script type="text/javascript">
function generateCode() {
let code = "";
while(code.length < 6) {
while(code.length < 4) {
code += Math.round(Math.random()*10);
}
document.querySelector('#code').value = code;