Skip to content

Commit 56a6a7a

Browse files
authored
Update account.html
Fix
1 parent d8bf4e7 commit 56a6a7a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/account.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,11 @@
161161
localStorage.setItem('usernameEnc', username); // Store the original Base64-encoded username
162162
localStorage.setItem('loggedIn', 'true');
163163
window.location.href = 'index.html';
164+
localStorage.setItem('loggedIn', 'true');
165+
window.location.href = 'index.html';
164166
}
165167

166168
}
167-
168-
localStorage.setItem('loggedIn', 'true');
169-
window.location.href = 'index.html';
170169
}
171170

172171
function registerScratchAuth() {

0 commit comments

Comments
 (0)