diff options
author | Thais Siqueira <thais.siqueira@gmail.com> | 2017-01-16 17:18:27 -0200 |
---|---|---|
committer | Thais Siqueira <thais.siqueira@gmail.com> | 2017-01-17 17:22:08 -0200 |
commit | 8041280bad54599f65fa607da16a2b1b8334d8ae (patch) | |
tree | b192bdc1bfa05ed0e8ca2a6a9a7805924918bdbd | |
parent | 85a814addac2db7d6395a0924e8c6b58bfc2f2f5 (diff) |
[#885]Encodes user_uuid and passphrase to allow utf-8 characteres
with @tayanefernandes
-rw-r--r-- | service/pixelated/config/sessions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/pixelated/config/sessions.py b/service/pixelated/config/sessions.py index 439ca9b3..b301132a 100644 --- a/service/pixelated/config/sessions.py +++ b/service/pixelated/config/sessions.py @@ -75,8 +75,8 @@ class LeapSessionFactory(object): server_url = self._provider.discover_soledad_server(user_uuid) try: soledad = yield threads.deferToThread(Soledad, - user_uuid, - passphrase=unicode(password), + user_uuid.encode('utf-8'), + passphrase=unicode(password, 'utf-8'), secrets_path=secrets, local_db_path=local_db, server_url=server_url, |