diff --git a/assets/script.js b/assets/script.js index a888a45..9d138ef 100644 --- a/assets/script.js +++ b/assets/script.js @@ -222,9 +222,9 @@ function login() { const email = document.getElementById("login_email").value; const password = document.getElementById("login_password").value; doLogin(email, password); + getUserInfo(); refreshNavbar(); softReload(); - getUserInfo(); } async function doLogin(email, password) {