diff --git a/src/user/recover-password.js b/src/user/recover-password.js index c278b46..556f0d2 100644 --- a/src/user/recover-password.js +++ b/src/user/recover-password.js @@ -17,7 +17,7 @@ import React from 'react'; import Dialog from '../common/dialogs/dialog'; -import {Col, Row} from 'react-bootstrap'; +import Config from '../config.js'; class RecoverPassword extends React.Component { @@ -25,7 +25,7 @@ class RecoverPassword extends React.Component { super(props); this.state = { - admins: this.props.admins + admin: Config.admin } } @@ -36,33 +36,14 @@ class RecoverPassword extends React.Component { - - - render() { return ( - this.onClose(c)} blendOutCancel = {true} valid={true}> + this.onClose(c)} blendOutCancel = {true} valid={true} size = 'lg'>
- Please contact an administrator -
- {this.state.admins != null && this.state.admins.map(admin => ( -
- - Admin: - {admin.username} - - - - - E-mail: - {admin.mail} - - -
- ))} -
- - +
Please contact:
+
{this.state.admin.name}
+
E-Mail:
+ {this.state.admin.mail}
);