Skip to content

Commit

Permalink
Fix errors due to lazy loading of collection
Browse files Browse the repository at this point in the history
  • Loading branch information
Brutus5000 committed Sep 24, 2019
1 parent f3684fc commit e808044
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.inject.Inject;
import java.util.ArrayList;
Expand All @@ -21,6 +22,7 @@
* Adapter between Spring's {@link UserDetailsService} and FAF's {@code login} table.
*/
@Service
@Transactional
public class FafUserDetailsService implements UserDetailsService {

private final UserRepository userRepository;
Expand Down

0 comments on commit e808044

Please sign in to comment.