Finally done!

This commit is contained in:
Astatin3
2024-02-20 10:25:34 -07:00
parent ef75228361
commit bd77a9fcc5
24 changed files with 645 additions and 215 deletions
+4 -20
View File
@@ -14,29 +14,13 @@
</section>
<script>
//let socket = io()
usernamebox = document.getElementById('usernamebox')
passwordbox = document.getElementById('passwordbox')
function submit(){
const usernamebox = utils.getel('usernamebox')
const passwordbox = utils.getel('passwordbox')
authLogin(usernamebox.value, passwordbox.value)
}
// function submit() {
// time = (new Date().getTime())
// hashpacket = usernamebox.value+sha256(passwordbox.value).toUpperCase()+time
// packet = {
// data: sha256(hashpacket),
// time: time
// }
// socket.emit('authreq', JSON.stringify(packet))
// //alert(sha256(passwordbox.value))
// //passwordbox.value = sha256(passwordbox.value)
// }
window.main = ()=>{}
</script>