diff options
author | thaissiqueira <thais.siqueira@thoughtworks.com> | 2017-01-18 11:01:31 -0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-18 11:01:31 -0200 |
commit | ef163a2598f3bd26c5336e49c78d5b655e4d7e13 (patch) | |
tree | 8f105559d3be3f37c4bce34b36cb9ebdd1d6d3f3 /service/pixelated | |
parent | dabbb73ad89ffa04377a12a4b55833a2814dc123 (diff) | |
parent | 6e876d879927c9b5f12eb70987b4070c5e8298eb (diff) |
Merge pull request #911 from pixelated/login-unicode
Encodes user_uuid and passphrase to allow utf-8 characteres
Diffstat (limited to 'service/pixelated')
-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, |