Skip to content

Commit ac44cb5

Browse files
committed
frontend: fix typo in localStorage key.
1 parent 3819e0e commit ac44cb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/pages/user.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export function User() {
217217

218218
const t = i18n.t;
219219

220-
const loginSaltBs64 = window.localStorage.getItem("LoginKey");
220+
const loginSaltBs64 = window.localStorage.getItem("loginKey");
221221
const loginSalt = Base64.toUint8Array(loginSaltBs64);
222222
const loginKey = await generate_hash(deleteUser.password, loginSalt)
223223

0 commit comments

Comments
 (0)