Skip to content

Commit 1b930a8

Browse files
authored
Update account.html
Fix
1 parent 546a599 commit 1b930a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/account.html

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

159159
if (devKey) {
160-
const decodedUsername = decodeUsername(username); // Decode the username using atob
161-
localStorage.setItem('usernameEnc', username); // Store the original Base64-encoded username
160+
const decodedUsername = (devKey); // Decode the username using atob
161+
localStorage.setItem('usernameEnc', devKey); // Store the original Base64-encoded username
162162
localStorage.setItem('loggedIn', 'true');
163163
window.location.href = 'index.html';
164164
}

0 commit comments

Comments
 (0)