git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
700e9d9
)
shouldn't specify an hrn when validating credentials for this operation
author
Tony Mack
<tmack@cs.princeton.edu>
Fri, 6 Aug 2010 21:42:45 +0000
(21:42 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Fri, 6 Aug 2010 21:42:45 +0000
(21:42 +0000)
sfa/methods/GetCredential.py
patch
|
blob
|
history
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