Merge pull request #81 from egmp777/master

Email Confirmation Article
This commit is contained in:
Eugen 2014-11-26 00:02:09 +02:00
commit f46cb7133e
1 changed files with 1 additions and 4 deletions

View File

@ -9,7 +9,6 @@ import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.baeldung.persistence.dao.UserRepository;
import org.baeldung.persistence.dao.VerificationTokenRepository;
import org.baeldung.persistence.model.User;
import org.baeldung.persistence.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
@ -30,9 +29,7 @@ public class MyUserDetailsService implements UserDetailsService {
private IUserService service;
@Autowired
private MessageSource messages;
@Autowired
private VerificationTokenRepository tokenRepository;;
@Autowired
public MyUserDetailsService(UserRepository repository) {
this.userRepository = repository;