import React, { useEffect } from 'react' import { FormattedMessage, useIntl } from 'react-intl' import { Link } from 'react-router-dom' import Header from './Header' import Footer from './Footer' import SubmitButton from './SubmitButton' const css = require('../css/login.css') const ConfigStatusMessage = (props: any) => { const enabled = props.enabled let result; if (enabled === true) { result = (

here

); } else { result = ; } return result; } const LoginError = (props: any) => { // @Todo: This must be reviewed to be based on navigation state. // Login error example: http://localhost:8080/c/login?login.error=2 const errorCode = new URLSearchParams(window.location.search).get('login_error'); let result; if (errorCode) { if (errorCode === "3") { result = (
) } else { result = (
) } } return ({result}); } const LoginForm = () => { const intl = useIntl(); return (

); } const LoginPage = (props: any) => { useEffect(() => { document.title = 'Login - WiseMapping'; }); return (
); } export default LoginPage;