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

	err := p.setSessionUser(w, r, "")
	if err != nil {
		RespondWithError(w, r, 0,
			"handleLogout: setSessionUser %v", err)
		return
	}

	// Reply with the user information.
	var reply v1.LogoutReply
	util.RespondWithJSON(w, http.StatusOK, reply)
}
// handleLogout logs the user out.  A login will be required to resume sending
// commands,
handleLogout logs the user out.  A login will be required to resume sending
commands.
// handleLogout logs the user out . A login will be required to resume sending // commands
func (p *politeiawww) handleLogout(w http.ResponseWriter, r *http.Request) {
	log.Tracef("handleLogout")
	err := p.setSessionUser(w, r, "")
	if err != nil {
		RespondWithError(w, r, 0,
			"handleLogout: setSessionUser %v", err)
		return
	}
	var reply v1.LogoutReply
	util.RespondWithJSON(w, http.StatusOK, reply)
}
func ( p * politeiawww ) handleLogout ( w http . ResponseWriter , r * http . Request ) { log . Tracef ( " " ) err := p . setSessionUser ( w , r , " " ) if err != nil { RespondWithError ( w , r , 0 , " " , err ) return } var reply v1 . LogoutReply util . RespondWithJSON ( w , http . StatusOK , reply ) }
handleLogout logs the user out.
handleLogout logs the user out .
// Reply with the user information.