@ POST @ Path ( "password/reset" ) @ PermitAll public Response resetPassword ( PasswordRequest request ) { checkNotNull ( request . getEmail ( ) ) ; userService . resetPassword ( request . getEmail ( ) ) ; return Response . noContent ( ) . build ( ) ; }
Reset user password by sending out a reset email .