Fixed user activation bug.

This commit is contained in:
Andrew Lalis 2022-02-21 20:56:02 +01:00
parent efd813063b
commit de13d001b8
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ public class UserService {
}
account = accountRepository.save(account);
user.getAccounts().add(account);
user.setActivated(true);
user = userRepository.save(user);
}