From 571cf88bf855dae527628f5b6379c7d1f3dcdba8 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Thu, 4 May 2017 21:52:37 +0200 Subject: [bug] Pass the right representation for the autoconf param from the cli In the previous commit 73fe341 the autoconf param for authentication calls was changed to 'True', so the cli has to send the right representation. --- src/leap/bitmask/cli/user.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/leap/bitmask/cli') diff --git a/src/leap/bitmask/cli/user.py b/src/leap/bitmask/cli/user.py index fc1d2960..9af31b3b 100644 --- a/src/leap/bitmask/cli/user.py +++ b/src/leap/bitmask/cli/user.py @@ -77,7 +77,7 @@ SUBCOMMANDS: if not passwd: passwd = self._getpass_twice() self.data += ['create', username, passwd, - subargs.invite, 'true'] + subargs.invite, 'True'] return self._send(printer=command.default_dict_printer) def auth(self, raw_args): @@ -90,7 +90,7 @@ SUBCOMMANDS: username = self._username(raw_args, needed=True) if not passwd: passwd = getpass.getpass() - self.data += ['authenticate', username, passwd, 'true'] + self.data += ['authenticate', username, passwd, 'True'] self.cfg.set('bonafide', 'active', username) return self._send(printer=command.default_dict_printer) -- cgit v1.2.3