aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/auth/Login.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/auth/Login.tsx')
-rw-r--r--src/components/auth/Login.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/auth/Login.tsx b/src/components/auth/Login.tsx
index 66a567fe4..185a6ad48 100644
--- a/src/components/auth/Login.tsx
+++ b/src/components/auth/Login.tsx
@@ -9,7 +9,7 @@ import { API_VERSION } from '../../environment-remote';
9import { serverBase } from '../../api/apiBase'; // TODO: Remove this line after fixing password recovery in-app 9import { serverBase } from '../../api/apiBase'; // TODO: Remove this line after fixing password recovery in-app
10import Form from '../../lib/Form'; 10import Form from '../../lib/Form';
11import { required, email } from '../../helpers/validation-helpers'; 11import { required, email } from '../../helpers/validation-helpers';
12import Input from '../ui/Input'; 12import Input from '../ui/input/index';
13import Button from '../ui/button'; 13import Button from '../ui/button';
14import Link from '../ui/Link'; 14import Link from '../ui/Link';
15import { H1 } from '../ui/headline'; 15import { H1 } from '../ui/headline';
@@ -136,8 +136,8 @@ class Login extends Component<IProps> {
136 {intl.formatMessage(messages.serverLogout)} 136 {intl.formatMessage(messages.serverLogout)}
137 </p> 137 </p>
138 )} 138 )}
139 <Input field={form.$('email')} focus /> 139 <Input {...form.$('email').bind()} focus />
140 <Input field={form.$('password')} showPasswordToggle /> 140 <Input {...form.$('password').bind()} showPasswordToggle />
141 {error.code === 'invalid-credentials' && ( 141 {error.code === 'invalid-credentials' && (
142 <> 142 <>
143 <p className="error-message center"> 143 <p className="error-message center">