Skip to content

Commit bef3332

Browse files
authored
Update index.html
1 parent 4b6aa2e commit bef3332

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,15 @@
6363
}
6464

6565
async function test() {
66+
print("starting");
6667
const input = await document.getElementById("in");
6768
const pass = input.innerHTML;
69+
print("password: " + pass);
70+
print("hashed: " + hash(pass);
6871
if ( check(pass) ) {
69-
window.location = "/pass.html";
72+
print("APROVED");
73+
} else {
74+
print("DENIED");
7075
}
7176
}
7277
</script>

0 commit comments

Comments
 (0)