We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96f51d9 commit 9a77e45Copy full SHA for 9a77e45
1 file changed
ui/src/views/system/user-manage/component/UserDrawer.vue
@@ -431,7 +431,7 @@ const submit = async (formEl: FormInstance | undefined) => {
431
})
432
} else {
433
params.defaultPermission = defaultPermission.value
434
- const publicKey = forge.pki.publicKeyFromPem(user.rasKey)
+ const publicKey = forge.pki.publicKeyFromPem(user.rsaKey)
435
const utf8Bytes = forge.util.encodeUtf8(params.password)
436
const encrypted = publicKey.encrypt(utf8Bytes, 'RSAES-PKCS1-V1_5')
437
params.password = forge.util.encode64(encrypted)
0 commit comments