Tidy remaining files to randomString()

This commit is contained in:
Marcus Hill
2023-01-26 21:46:58 +00:00
parent 23e3a2e8fc
commit 2570bdc6af
3 changed files with 5 additions and 9 deletions

View File

@@ -157,7 +157,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
}
function generatePassword() {
document.getElementById("password").value = "<?php echo bin2hex(random_bytes(8)); ?>"
document.getElementById("password").value = "<?php echo randomString(); ?>"
}
</script>