summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-05-04 21:52:37 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2017-05-04 21:54:03 +0200
commit571cf88bf855dae527628f5b6379c7d1f3dcdba8 (patch)
tree2d91c4148c2dcd457dc9213129427dabee8c3bb3
parent73fe34135dcfee98ecc1ee2287ea063028d550f6 (diff)
[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.
-rw-r--r--src/leap/bitmask/cli/user.py4
1 files changed, 2 insertions, 2 deletions
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)