fix: remove organization name in register form.

This commit is contained in:
Ahmed Bouhuolia
2020-10-08 12:44:21 +02:00
parent f0a67ee1fd
commit 99d88c8ab0
3 changed files with 8 additions and 5 deletions

View File

@@ -135,7 +135,7 @@ export default class AuthenticationService implements IAuthenticationService {
const { systemUserRepository } = this.sysRepositories;
const registeredUser = await systemUserRepository.create({
...omit(registerDTO, 'country', 'organizationName'),
...omit(registerDTO, 'country'),
active: true,
password: hashedPassword,
tenant_id: tenant.id,