Login
This commit is contained in:
BIN
project.db-shm
BIN
project.db-shm
Binary file not shown.
@@ -1,6 +1,5 @@
|
|||||||
import { postData, verifyLogin } from "./client.js";
|
import { postData, verifyLogin } from "./client.js";
|
||||||
|
|
||||||
verifyLogin();
|
|
||||||
const token = window.localStorage.getItem("token");
|
const token = window.localStorage.getItem("token");
|
||||||
|
|
||||||
const infoForm = document.getElementById("infoForm");
|
const infoForm = document.getElementById("infoForm");
|
||||||
@@ -15,6 +14,8 @@ const encryptionKey = await getEncryptionKey()
|
|||||||
|
|
||||||
//console.log(`Encryption Key:`);
|
//console.log(`Encryption Key:`);
|
||||||
//console.log(encryptionKey);
|
//console.log(encryptionKey);
|
||||||
|
//
|
||||||
|
await verifyLogin();
|
||||||
|
|
||||||
async function handlePasswordSubmission(e) {
|
async function handlePasswordSubmission(e) {
|
||||||
console.log(await verifyLogin());
|
console.log(await verifyLogin());
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<meta http-equiv="refresh" content="0; url=/home">
|
<meta http-equiv="refresh" content="0; url=/login">
|
||||||
|
|||||||
Reference in New Issue
Block a user