commit
f46cb7133e
|
@ -9,7 +9,6 @@ import org.springframework.security.core.userdetails.UsernameNotFoundException;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.baeldung.persistence.dao.UserRepository;
|
import org.baeldung.persistence.dao.UserRepository;
|
||||||
import org.baeldung.persistence.dao.VerificationTokenRepository;
|
|
||||||
import org.baeldung.persistence.model.User;
|
import org.baeldung.persistence.model.User;
|
||||||
import org.baeldung.persistence.service.IUserService;
|
import org.baeldung.persistence.service.IUserService;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
@ -30,8 +29,6 @@ public class MyUserDetailsService implements UserDetailsService {
|
||||||
private IUserService service;
|
private IUserService service;
|
||||||
@Autowired
|
@Autowired
|
||||||
private MessageSource messages;
|
private MessageSource messages;
|
||||||
@Autowired
|
|
||||||
private VerificationTokenRepository tokenRepository;;
|
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
public MyUserDetailsService(UserRepository repository) {
|
public MyUserDetailsService(UserRepository repository) {
|
||||||
|
|
Loading…
Reference in New Issue