diff --git a/src/main/java/nl/andrewl/coyotecredit/service/UserService.java b/src/main/java/nl/andrewl/coyotecredit/service/UserService.java index c71cc2c..fc2dd81 100644 --- a/src/main/java/nl/andrewl/coyotecredit/service/UserService.java +++ b/src/main/java/nl/andrewl/coyotecredit/service/UserService.java @@ -87,6 +87,7 @@ public class UserService { } account = accountRepository.save(account); user.getAccounts().add(account); + user.setActivated(true); user = userRepository.save(user); }