From 13ad45c50dc6863870bfe7e37339e07e275a89b3 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Fri, 6 Aug 2010 21:42:45 +0000 Subject: [PATCH] shouldn't specify an hrn when validating credentials for this operation --- sfa/methods/GetCredential.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/methods/GetCredential.py b/sfa/methods/GetCredential.py index a604ea0d..eb535ed2 100644 --- a/sfa/methods/GetCredential.py +++ b/sfa/methods/GetCredential.py @@ -41,7 +41,7 @@ class GetCredential(Method): hrn, type = urn_to_hrn(xrn) # check creds - valid_creds = self.api.auth.checkCredentials(creds, 'getcredential', hrn) + valid_creds = self.api.auth.checkCredentials(creds, 'getcredential') self.api.auth.verify_object_belongs_to_me(hrn) #log the call -- 2.47.0