func (p *politeiawww) handleVerifyNewUser(w http.ResponseWriter, r *http.Request) {
	log.Tracef("handleVerifyNewUser")

	// Get the new user verify command.
	var vnu v1.VerifyNewUser
	err := util.ParseGetParams(r, &vnu)
	if err != nil {
		RespondWithError(w, r, 0, "handleVerifyNewUser: ParseGetParams",
			v1.UserError{
				ErrorCode: v1.ErrorStatusInvalidInput,
			})
		return
	}

	_, err = p.backend.ProcessVerifyNewUser(vnu)
	if err != nil {
		RespondWithError(w, r, 0, "handleVerifyNewUser: "+
			"ProcessVerifyNewUser %v", err)
		return
	}

	util.RespondWithJSON(w, http.StatusOK, v1.VerifyNewUserReply{})
}
// handleVerifyNewUser handles the incoming new user verify command. It verifies
// that the user with the provided email has a verification token that matches
// the provided token and that the verification token has not yet expired.
handleVerifyNewUser handles the incoming new user verify command. It verifies
that the user with the provided email has a verification token that matches
the provided token and that the verification token has not yet expired.
// handleVerifyNewUser handles the incoming new user verify command . It verifies // that the user with the provided email has a verification token that matches // the provided token and that the verification token has not yet expired .
func (p *politeiawww) handleVerifyNewUser(w http.ResponseWriter, r *http.Request) {
	log.Tracef("handleVerifyNewUser")
	var vnu v1.VerifyNewUser
	err := util.ParseGetParams(r, &vnu)
	if err != nil {
		RespondWithError(w, r, 0, "handleVerifyNewUser: ParseGetParams",
			v1.UserError{
				ErrorCode: v1.ErrorStatusInvalidInput,
			})
		return
	}
	_, err = p.backend.ProcessVerifyNewUser(vnu)
	if err != nil {
		RespondWithError(w, r, 0, "handleVerifyNewUser: "+
			"ProcessVerifyNewUser %v", err)
		return
	}
	util.RespondWithJSON(w, http.StatusOK, v1.VerifyNewUserReply{})
}
func ( p * politeiawww ) handleVerifyNewUser ( w http . ResponseWriter , r * http . Request ) { log . Tracef ( " " ) var vnu v1 . VerifyNewUser err := util . ParseGetParams ( r , & vnu ) if err != nil { RespondWithError ( w , r , 0 , " " , v1 . UserError { ErrorCode : v1 . ErrorStatusInvalidInput , } ) return } _ , err = p . backend . ProcessVerifyNewUser ( vnu ) if err != nil { RespondWithError ( w , r , 0 , " " + " " , err ) return } util . RespondWithJSON ( w , http . StatusOK , v1 . VerifyNewUserReply { } ) }
handleVerifyNewUser handles the incoming new user verify command.
handleVerifyNewUser handles the incoming new user verify command .
// Get the new user verify command.