Skip to content

Commit 7139c48

Browse files
authored
Update account.html
1 parent 56a6a7a commit 7139c48

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
@@ -154,9 +154,9 @@
154154
const DK = new URLSearchParams(window.location.search).get('devKey');
155155

156156
if (DK) {
157-
const username = new URLSearchParams(window.location.search).get('devKey');
157+
const devKey = new URLSearchParams(window.location.search).get('devKey');
158158

159-
if (username) {
159+
if (devKey) {
160160
const decodedUsername = decodeUsername(username); // Decode the username using atob
161161
localStorage.setItem('usernameEnc', username); // Store the original Base64-encoded username
162162
localStorage.setItem('loggedIn', 'true');

0 commit comments

Comments
 (0)