From 6de05f0d701da06b96744303e116fff0f48688fb Mon Sep 17 00:00:00 2001 From: emelko Date: Sun, 20 Sep 2020 14:49:17 +0200 Subject: [PATCH] Fix unlocking app with password --- components/password-prompt.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/password-prompt.js b/components/password-prompt.js index 14203df..2924b46 100644 --- a/components/password-prompt.js +++ b/components/password-prompt.js @@ -76,6 +76,10 @@ export default class PasswordPrompt extends Component { requestHash('check-pw', this.state.password) } + setPassword = (password) => { + this.setState({ password }) + } + render() { const { password } = this.state const isPasswordEntered = password && password.length > 0