This is an automated email from the ASF dual-hosted git repository.
mssun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git
The following commit(s) were added to refs/heads/master by this push:
new 3624a68 fix python sdk (#605)
3624a68 is described below
commit 3624a68c0290f8b8ec365038349df3e4ca8fe308
Author: Qinkun Bao <[email protected]>
AuthorDate: Wed Feb 2 21:20:54 2022 -0800
fix python sdk (#605)
---
sdk/python/teaclave.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/python/teaclave.py b/sdk/python/teaclave.py
index 0fad8a9..ed9b1f1 100644
--- a/sdk/python/teaclave.py
+++ b/sdk/python/teaclave.py
@@ -459,7 +459,7 @@ class AuthenticationService(TeaclaveService):
_write_message(self.channel, request)
response = _read_message(self.channel)
if response["result"] == "ok":
- return response["content"]["token"]
+ return response["content"]["password"]
else:
reason = "unknown"
if "request_error" in response:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]