From f06337c2c7bd339a4fdece989751446af23d1bfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 20:12:09 +0100 Subject: [PATCH] Fix async --- assets/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {