You can now generate keys from the advanced settings interface
This commit is contained in:
parent
bfef3e93dc
commit
a10e0f0327
1 changed files with 2 additions and 9 deletions
|
@ -1,11 +1,10 @@
|
|||
import PropTypes from 'prop-types';
|
||||
import React from 'react';
|
||||
import { reduxForm } from 'redux-form';
|
||||
import { connect } from 'react-redux';
|
||||
import { bindActionCreators } from 'redux';
|
||||
import { browserHistory } from 'react-router';
|
||||
import { Tab, Tabs, TabList, TabPanel } from 'react-tabs';
|
||||
import InlineSVG from 'react-inlinesvg';
|
||||
import axios from 'axios';
|
||||
import { Helmet } from 'react-helmet';
|
||||
import { updateSettings, initiateVerification, createApiKey, removeApiKey } from '../actions';
|
||||
import AccountForm from '../components/AccountForm';
|
||||
|
@ -114,10 +113,4 @@ AccountView.propTypes = {
|
|||
theme: PropTypes.string.isRequired
|
||||
};
|
||||
|
||||
export default reduxForm({
|
||||
form: 'updateAllSettings',
|
||||
fields: ['username', 'email', 'currentPassword', 'newPassword'],
|
||||
validate: validateSettings,
|
||||
asyncValidate,
|
||||
asyncBlurFields: ['username', 'email', 'currentPassword']
|
||||
}, mapStateToProps, mapDispatchToProps)(AccountView);
|
||||
export default connect(mapStateToProps, mapDispatchToProps)(AdvancedSettingsView);
|
||||
|
|
Loading…
Reference in a new issue