Skip to content

Commit

Permalink
fix: login disabled after logout (fehmer) (#5243)
Browse files Browse the repository at this point in the history
  • Loading branch information
fehmer authored Mar 23, 2024
1 parent 7f427a9 commit f3c6254
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions frontend/src/ts/controllers/account-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/ts/pages/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,8 @@ export const page = new Page(
},
async () => {
Skeleton.append("pageLogin", "main");
enableSignUpButton();
enableInputs();
},
async () => {
//
Expand Down

0 comments on commit f3c6254

Please sign in to comment.