import React from 'react'; import { FormattedMessage as Message } from 'react-intl'; import Helmet from 'react-helmet'; import buttons from 'components/ui/buttons.scss'; import { Input, Checkbox } from 'components/ui/form'; import BaseAuthBody from 'components/auth/BaseAuthBody'; import passwordMessages from 'components/auth/password/Password.intl.json'; import activationMessages from 'components/auth/activation/Activation.messages'; import messages from './Register.messages'; // TODO: password and username can be validate for length and sameness class Body extends BaseAuthBody { static displayName = 'RegisterBody'; static panelId = 'register'; autoFocusField = 'username'; render() { return (