Commit c4c4b8a4 authored by segfault's avatar segfault
Browse files

tails-screen-locker: Support unicode characters in password

parent 8df30a70
......@@ -59,7 +59,7 @@ class PasswordDialog(object):
if not pw1 == pw2:
return
self.pw = pw1.encode('ascii')
self.pw = pw1.encode('utf8')
bus = SystemBus()
object_path = bus.get("org.freedesktop.Accounts").FindUserById(os.getuid())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment