fix: input focus style in authentication pages.

This commit is contained in:
Ahmed Bouhuolia
2020-12-03 13:25:33 +02:00
parent b941866d88
commit e8f329e29e
4 changed files with 15 additions and 11 deletions

View File

@@ -183,6 +183,9 @@ export default class AccountsService {
tenantId, accountDTO.parentAccountId
);
this.throwErrorIfParentHasDiffType(accountDTO, parentAccount);
// Inherit active status from parent account.
accountDTO.active = parentAccount.active;
}
const account = await accountRepository.insert({
...accountDTO,