There was an error while loading. Please reload this page.
1 parent adf5e81 commit d3cf1f5Copy full SHA for d3cf1f5
1 file changed
api/src/main/java/com/grash/service/UserService.java
@@ -330,6 +330,7 @@ public User enableUser(User user) {
330
throw new CustomException("You can't add more users to this company", HttpStatus.NOT_ACCEPTABLE);
331
}
332
user.setEnabled(true);
333
+ user.setEnabledInSubscription(true);
334
userRepository.save(user);
335
cacheService.putUserInCache(user);
336
return user;
0 commit comments