import React from 'react'; import { FormattedMessage as Message } from 'react-intl'; import Helmet from 'react-helmet'; import { Link } from 'react-router'; import buttons from 'components/ui/buttons.scss'; import icons from 'components/ui/icons.scss'; import { Input, Checkbox } from 'components/ui/form'; import BaseAuthBody from 'components/auth/BaseAuthBody'; import styles from './password.scss'; import messages from './Password.messages'; class Body extends BaseAuthBody { static displayName = 'PasswordBody'; static panelId = 'password'; static hasGoBack = true; autoFocusField = 'password'; render() { const {user} = this.context; return (