fix: login disabled after logout (fehmer) (#5243)

This commit is contained in:
Christian Fehmer 2024-03-23 10:10:46 +01:00 committed by GitHub
parent 7f427a9643
commit f3c6254933
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -455,8 +455,6 @@ export function signOut(): void {
void AccountButton.update();
navigate("/login");
DB.setSnapshot(undefined);
LoginPage.enableSignUpButton();
LoginPage.enableInputs();
$("header .signInOut .icon").html(`<i class="far fa-fw fa-user"></i>`);
setTimeout(() => {
hideFavoriteQuoteLength();

View file

@ -353,6 +353,8 @@ export const page = new Page(
},
async () => {
Skeleton.append("pageLogin", "main");
enableSignUpButton();
enableInputs();
},
async () => {
//