Activate jhipster user by default

After user registration the user name is not active until the user click email link or admin Manual activation. 
Solution :
Open UserService. Java class 

And go to register User method  as shown below 

public User registerUser(UserDTO userDTO, String password) and setActivated method true
newUser.setActivated(true)

0 comments:

Post a Comment