git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
shouldn't specify an hrn when validating credentials for this operation
[sfa.git]
/
sfa
/
methods
/
GetCredential.py
diff --git
a/sfa/methods/GetCredential.py
b/sfa/methods/GetCredential.py
index
a604ea0
..
eb535ed
100644
(file)
--- 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