import React from 'react'; 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.intl.json'; export default class PasswordBody extends BaseAuthBody { static displayName = 'PasswordBody'; static panelId = 'password'; static hasGoBack = true; autoFocusField = 'password'; render() { const {user} = this.context; return (
{this.renderErrors()}
{user.avatar ? : }
{user.email || user.username}
); } }