fix: reenable login inputs if loading user data fails

This commit is contained in:
Miodec 2024-07-26 19:05:15 +02:00
parent 906c15cfaf
commit 13a15c94d6

View file

@ -108,6 +108,7 @@ async function getDataAndInit(): Promise<boolean> {
Notifications.add("Failed to get user data: " + msg, -1);
console.error(e);
LoginPage.enableInputs();
$("header nav .account").css("opacity", 1);
return false;
}