Fix async

This commit is contained in:
Bruno Rybársky 2024-02-06 20:12:09 +01:00
parent 3cf29154aa
commit f06337c2c7

@ -222,9 +222,9 @@ function login() {
const email = document.getElementById("login_email").value; const email = document.getElementById("login_email").value;
const password = document.getElementById("login_password").value; const password = document.getElementById("login_password").value;
doLogin(email, password); doLogin(email, password);
getUserInfo();
refreshNavbar(); refreshNavbar();
softReload(); softReload();
getUserInfo();
} }
async function doLogin(email, password) { async function doLogin(email, password) {