fix to previous commit

This commit is contained in:
piratefinn 2017-06-29 13:51:36 +01:00
parent 23b5dbde6e
commit 439ac5494c

View file

@ -45,7 +45,7 @@ export class RegisterComponent {
}); });
this.organisationForm = new ValidationManager({ this.organisationForm = new ValidationManager({
name: 'required', name: 'required',
name: 'sector', sector: 'required',
street_name: 'required', street_name: 'required',
town: 'required', town: 'required',
postcode: 'required', postcode: 'required',
@ -101,7 +101,7 @@ export class RegisterComponent {
email: signupForm.email, email: signupForm.email,
password: signupForm.password, password: signupForm.password,
name: organisationForm.name, name: organisationForm.name,
name: organisationForm.sector, sector: organisationForm.sector,
street_name: organisationForm.street_name, street_name: organisationForm.street_name,
town: organisationForm.town, town: organisationForm.town,
postcode: organisationForm.postcode, postcode: organisationForm.postcode,