func statusForbidden()

in service/middleware/middleware.go [81:85]


func statusForbidden(w http.ResponseWriter, err error) {
	w.WriteHeader(http.StatusForbidden)
	log.Printf("User failed authentication with: %v", err)
	fmt.Fprintln(w, "Status Forbidden (403) - you are not authorised to access this site.")
}