diff options
Diffstat (limited to 'src/components/auth/Login.tsx')
-rw-r--r-- | src/components/auth/Login.tsx | 6 |
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'; | |||
9 | import { serverBase } from '../../api/apiBase'; // TODO: Remove this line after fixing password recovery in-app | 9 | import { serverBase } from '../../api/apiBase'; // TODO: Remove this line after fixing password recovery in-app |
10 | import Form from '../../lib/Form'; | 10 | import Form from '../../lib/Form'; |
11 | import { required, email } from '../../helpers/validation-helpers'; | 11 | import { required, email } from '../../helpers/validation-helpers'; |
12 | import Input from '../ui/Input'; | 12 | import Input from '../ui/input/index'; |
13 | import Button from '../ui/button'; | 13 | import Button from '../ui/button'; |
14 | import Link from '../ui/Link'; | 14 | import Link from '../ui/Link'; |
15 | import { H1 } from '../ui/headline'; | 15 | import { 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"> |