Skip to content

Commit

Permalink
Régression : impossible de créer un utilisateur depuis la GUI WEB asi…
Browse files Browse the repository at this point in the history
  • Loading branch information
arxit-ygr committed Sep 13, 2024
1 parent 583cbd9 commit a543c60
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,8 @@ public final User createDomainObject(final Secrets secrets, final TwoFactorServi
}

User domainUser = new User();
domainUser.setUserType(this.getUserType());
domainUser.setTwoFactorStatus(TwoFactorStatus.INACTIVE);

return this.updateDomainObject(domainUser, secrets, twoFactorService, false, true);
}
Expand Down

0 comments on commit a543c60

Please sign in to comment.