JWT token 1.1
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
const token = localStorage.getItem("token");
|
const token = localStorage.getItem("token");
|
||||||
if (!token) {
|
if (!token) {
|
||||||
window.location.href = "./../register/index.html";
|
window.location.href = "./../login/index.html";
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user