Fixed user activation bug.
This commit is contained in:
parent
efd813063b
commit
de13d001b8
|
@ -87,6 +87,7 @@ public class UserService {
|
||||||
}
|
}
|
||||||
account = accountRepository.save(account);
|
account = accountRepository.save(account);
|
||||||
user.getAccounts().add(account);
|
user.getAccounts().add(account);
|
||||||
|
user.setActivated(true);
|
||||||
user = userRepository.save(user);
|
user = userRepository.save(user);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue