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.tsx22
1 files changed, 13 insertions, 9 deletions
diff --git a/src/components/auth/Login.tsx b/src/components/auth/Login.tsx
index 9bad731c8..37ce595eb 100644
--- a/src/components/auth/Login.tsx
+++ b/src/components/auth/Login.tsx
@@ -1,19 +1,23 @@
1import { Component, FormEvent, ReactElement } from 'react';
2import { observer } from 'mobx-react';
3import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl';
4import { mdiArrowLeftCircle } from '@mdi/js'; 1import { mdiArrowLeftCircle } from '@mdi/js';
5import { noop } from 'lodash'; 2import { noop } from 'lodash';
6import Icon from '../ui/icon'; 3import { observer } from 'mobx-react';
4import { Component, type FormEvent, type ReactElement } from 'react';
5import {
6 type WrappedComponentProps,
7 defineMessages,
8 injectIntl,
9} from 'react-intl';
10import type { GlobalError } from '../../@types/ferdium-components.types';
11import { serverBase } from '../../api/apiBase'; // TODO: Remove this line after fixing password recovery in-app
7import { LIVE_FRANZ_API } from '../../config'; 12import { LIVE_FRANZ_API } from '../../config';
8import { API_VERSION } from '../../environment-remote'; 13import { API_VERSION } from '../../environment-remote';
9import { serverBase } from '../../api/apiBase'; // TODO: Remove this line after fixing password recovery in-app 14import { email, required } from '../../helpers/validation-helpers';
10import Form from '../../lib/Form'; 15import Form from '../../lib/Form';
11import { required, email } from '../../helpers/validation-helpers';
12import Input from '../ui/input/index';
13import Button from '../ui/button';
14import Link from '../ui/Link'; 16import Link from '../ui/Link';
17import Button from '../ui/button';
15import { H1 } from '../ui/headline'; 18import { H1 } from '../ui/headline';
16import { GlobalError } from '../../@types/ferdium-components.types'; 19import Icon from '../ui/icon';
20import Input from '../ui/input/index';
17 21
18const messages = defineMessages({ 22const messages = defineMessages({
19 headline: { 23 headline: {