Search
This commit is contained in:
@@ -10,7 +10,7 @@ if (loginForm) loginForm.onsubmit = async e => {
|
||||
});
|
||||
alert(resultObject.message);
|
||||
if (resultObject.success) {
|
||||
window.location.href = "home.html"
|
||||
window.location.href = "/home"
|
||||
localStorage.setItem("token", resultObject.token);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user