From 2529f43f82dc7685272d6ef5db33ecb858cccf8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Tikvi=C4=87?= Date: Thu, 9 Feb 2017 10:35:58 +0100 Subject: [PATCH] removed pritnfs --- auth_utility.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/auth_utility.go b/auth_utility.go index e0d161b..59ccdc2 100644 --- a/auth_utility.go +++ b/auth_utility.go @@ -10,7 +10,6 @@ import ( "net/http" "github.com/dgrijalva/jwt-go" - "fmt" ) const OneDay = time.Hour*24 @@ -193,7 +192,6 @@ func roleAuthorized(authorizedRoles []string, userClaims *TokenClaims) bool { return false } for _, r := range authorizedRoles { - fmt.Printf("comparing %s with %s\n", userClaims.Role, r) if userClaims.Role == r || r == "*" { return true } -- 1.8.1.2