diff options
author | 2019-12-23 18:03:14 +0100 | |
---|---|---|
committer | 2019-12-23 18:03:14 +0100 | |
commit | 22d76adbe613fd474eb9671cf283edda7f723b76 (patch) | |
tree | 69927be2ec22e8694155555f796ce041d6864fb1 /src/components | |
parent | #271 Allow SVG mimetype for service custom icon (diff) | |
download | ferdium-app-22d76adbe613fd474eb9671cf283edda7f723b76.tar.gz ferdium-app-22d76adbe613fd474eb9671cf283edda7f723b76.tar.zst ferdium-app-22d76adbe613fd474eb9671cf283edda7f723b76.zip |
#269 Add auto-focus on lock screen password field
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/auth/Locked.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/auth/Locked.js b/src/components/auth/Locked.js index ca571f20e..e7f3dc78b 100644 --- a/src/components/auth/Locked.js +++ b/src/components/auth/Locked.js | |||
@@ -87,6 +87,7 @@ export default @observer class Locked extends Component { | |||
87 | <Input | 87 | <Input |
88 | field={form.$('password')} | 88 | field={form.$('password')} |
89 | showPasswordToggle | 89 | showPasswordToggle |
90 | focus | ||
90 | /> | 91 | /> |
91 | {error.code === 'invalid-credentials' && ( | 92 | {error.code === 'invalid-credentials' && ( |
92 | <p className="error-message center">{intl.formatMessage(messages.invalidCredentials)}</p> | 93 | <p className="error-message center">{intl.formatMessage(messages.invalidCredentials)}</p> |