aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/auth/Locked.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/auth/Locked.tsx')
-rw-r--r--src/components/auth/Locked.tsx6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/components/auth/Locked.tsx b/src/components/auth/Locked.tsx
index 00ff5a4c5..34d010782 100644
--- a/src/components/auth/Locked.tsx
+++ b/src/components/auth/Locked.tsx
@@ -18,10 +18,6 @@ const messages = defineMessages({
18 id: 'locked.touchId', 18 id: 'locked.touchId',
19 defaultMessage: 'Unlock with Touch ID', 19 defaultMessage: 'Unlock with Touch ID',
20 }, 20 },
21 touchIdPrompt: {
22 id: 'locked.touchIdPrompt',
23 defaultMessage: 'Unlock with Touch ID',
24 },
25 passwordLabel: { 21 passwordLabel: {
26 id: 'locked.password.label', 22 id: 'locked.password.label',
27 defaultMessage: 'Password', 23 defaultMessage: 'Password',
@@ -80,7 +76,7 @@ class Locked extends Component<IProps> {
80 const { intl } = this.props; 76 const { intl } = this.props;
81 77
82 systemPreferences 78 systemPreferences
83 .promptTouchID(intl.formatMessage(messages.touchIdPrompt)) 79 .promptTouchID(intl.formatMessage(messages.touchId))
84 .then(() => { 80 .then(() => {
85 this.props.unlock(); 81 this.props.unlock();
86 }); 82 });