Login
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { postData, verifyLogin } from "./client.js";
|
||||
|
||||
verifyLogin();
|
||||
const token = window.localStorage.getItem("token");
|
||||
|
||||
const infoForm = document.getElementById("infoForm");
|
||||
@@ -15,6 +14,8 @@ const encryptionKey = await getEncryptionKey()
|
||||
|
||||
//console.log(`Encryption Key:`);
|
||||
//console.log(encryptionKey);
|
||||
//
|
||||
await verifyLogin();
|
||||
|
||||
async function handlePasswordSubmission(e) {
|
||||
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