forked from jason/cpolis
		
	Small error correction
This commit is contained in:
		@@ -13,7 +13,9 @@ import (
 | 
			
		||||
func tokenIsVerified(w http.ResponseWriter, r *http.Request) bool {
 | 
			
		||||
	idToken := r.Header.Get("Authorization")
 | 
			
		||||
	if idToken == "" {
 | 
			
		||||
		log.Println("Authorization header missing")
 | 
			
		||||
		http.Error(w, "Authorization header missing", http.StatusUnauthorized)
 | 
			
		||||
		return false
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	client, err := b.NewClient()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user