env python 1.0

This commit is contained in:
2025-09-20 14:05:42 +03:00
parent a26a0bf10b
commit 58419b0e14
6 changed files with 43 additions and 16 deletions

View File

@@ -1,3 +1,7 @@
const token = localStorage.getItem("token");
if (token) {
window.location.href = "./../main/index.html";
}
document.getElementById('loginForm').addEventListener('submit', async function (e) {
e.preventDefault();
const email = document.getElementById('email').value;