summaryrefslogtreecommitdiff
path: root/src/leap/bitmask
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r--src/leap/bitmask/cli/user.py2
-rw-r--r--src/leap/bitmask/core/dispatcher.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/bitmask/cli/user.py b/src/leap/bitmask/cli/user.py
index c34852c..9ce4dc6 100644
--- a/src/leap/bitmask/cli/user.py
+++ b/src/leap/bitmask/cli/user.py
@@ -48,7 +48,7 @@ SUBCOMMANDS:
def create(self, raw_args):
username = self.username(raw_args)
passwd = getpass.getpass()
- self.data += ['signup', username, passwd, 'true']
+ self.data += ['create', username, passwd, 'true']
return self._send(printer=command.default_dict_printer)
def auth(self, raw_args):
diff --git a/src/leap/bitmask/core/dispatcher.py b/src/leap/bitmask/core/dispatcher.py
index dba75b6..35f8bf5 100644
--- a/src/leap/bitmask/core/dispatcher.py
+++ b/src/leap/bitmask/core/dispatcher.py
@@ -106,7 +106,7 @@ class UserCmd(SubCommand):
return bonafide.do_authenticate(user, password, autoconf)
@register_method("{'signup': 'ok', 'user': str}")
- def do_SIGNUP(self, bonafide, *parts):
+ def do_CREATE(self, bonafide, *parts):
user, password = parts[2], parts[3]
autoconf = False
if len(parts) > 4: