From 8de8f014ddb4ac0cdfcc5bb937a3452b733c54bc Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Fri, 13 May 2022 16:10:51 +1000 Subject: [PATCH] fix: password input errors in seeddialog --- ts/components/dialog/SessionSeedModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/components/dialog/SessionSeedModal.tsx b/ts/components/dialog/SessionSeedModal.tsx index bc1c6735e..d0f6b44ee 100644 --- a/ts/components/dialog/SessionSeedModal.tsx +++ b/ts/components/dialog/SessionSeedModal.tsx @@ -26,7 +26,7 @@ const Password = (props: PasswordProps) => { const onClose = () => dispatch(recoveryPhraseModal(null)); const confirmPassword = () => { - const passwordValue = (document.getElementById('seed-input-password') as any)?.val(); + const passwordValue = (document.getElementById('seed-input-password') as any)?.value; const isPasswordValid = matchesHash(passwordValue as string, passwordHash); if (!passwordValue) {