fix params in verify command

This commit is contained in:
Pratik Vyas 2014-02-13 14:45:39 +05:30
parent acbaa61d71
commit 61e648c49b

View file

@ -14,7 +14,7 @@ def get_url(params, nonce, secret=None):
return ''.join([webnotes.local.request.url_root, '?', urllib.urlencode(params)])
def get_signature(params, nonce, secret=None):
params = "".join((cstr(p) for p in params))
params = "".join((cstr(p) for p in params.values()))
if not secret:
secret = webnotes.local.conf.get("secret") or "secret"