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)

Comments

Popular posts from this blog

Angular cli ng command is not working

warning: LF will be replaced by CRLF in