fix: orgName in signup form
This commit is contained in:
parent
af4e3cce3b
commit
f88da92048
1 changed files with 3 additions and 2 deletions
|
|
@ -27,6 +27,7 @@ export default class SignupForm extends React.Component {
|
|||
password: '',
|
||||
email: '',
|
||||
projectName: '',
|
||||
organizationName: '',
|
||||
};
|
||||
|
||||
componentDidMount() {
|
||||
|
|
@ -34,8 +35,8 @@ export default class SignupForm extends React.Component {
|
|||
}
|
||||
|
||||
handleSubmit = (token) => {
|
||||
const { tenantId, fullname, password, email, projectName, auth } = this.state;
|
||||
this.props.signup({ tenantId, fullname, password, email, projectName, auth, 'g-recaptcha-response': token })
|
||||
const { tenantId, fullname, password, email, projectName, organizationName, auth } = this.state;
|
||||
this.props.signup({ tenantId, fullname, password, email, projectName, organizationName, auth, 'g-recaptcha-response': token })
|
||||
}
|
||||
|
||||
write = ({ target: { value, name } }) => this.setState({ [ name ]: value })
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue