Skip to content

Commit bcae4d6

Browse files
committed
解决bug:忘记密码后新密码不生效
1 parent fb86e6d commit bcae4d6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/business/auth.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export async function setAccount (account, pwd, name) {
3030
if (acc) {
3131
// acc = { name: name, address: account.address, encryptKey: encryptKey }
3232
acc.name = name
33+
acc.encryptKey = encryptKey
3334
} else {
3435
list.push({ name: name, address: account.address, encryptKey: encryptKey })
3536
}

src/content.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)