Skip to content

Commit 4507ff7

Browse files
authored
Update account.html
Oh No! I needed to fix a bug, AGAIN?!
1 parent 799d920 commit 4507ff7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/account.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@
157157
const devKey = new URLSearchParams(window.location.search).get('devKey');
158158

159159
if (devKey) {
160+
const username = atob(devKey)
160161
localStorage.setItem('usernameEnc', devKey); // Store the original Base64-encoded username
162+
localStorage.setItem('username', username); // Store the original Base64-encoded username
161163
localStorage.setItem('loggedIn', 'true');
162164
window.location.href = 'index.html';
163165
}

0 commit comments

Comments
 (0)