diff --git a/fabapi/connect.py b/fabapi/connect.py index c77d903..3e20351 100644 --- a/fabapi/connect.py +++ b/fabapi/connect.py @@ -44,7 +44,7 @@ async def connect(host, port, user, pw): asyncio.gather(*coroutines, return_exceptions=True) boot = client.bootstrap().cast_as(connection_capnp.Bootstrap) - auth = await boot.createSession("PLAIN").a_wait() + auth = boot.createSession("PLAIN") p = "\0" + user + "\0" + pw response = await auth.authentication.step(p).a_wait() if response.which() == 'successful': diff --git a/schema b/schema index c9283eb..aea03aa 160000 --- a/schema +++ b/schema @@ -1 +1 @@ -Subproject commit c9283ebd696ed6dd428a7c3d24820889f7ab4bf3 +Subproject commit aea03aabe3d1322892c1896ba757ceeedb92ed73