diff options
author | Ruben Pollan <meskio@sindominio.net> | 2016-09-06 19:27:31 +0200 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-09-07 10:04:45 -0400 |
commit | 7a6e187e0a970ad6fb722fc9dfd3be784b254c06 (patch) | |
tree | 70092fe6f1635b7a22266c8e136510eb6934f162 /src/leap/bitmask/cli/user.py | |
parent | 1d51bc24ec9afcbb30b05905217bc7aafedca5f1 (diff) |
[feat] Add manual provider registration
- Resolves: #8400
Diffstat (limited to 'src/leap/bitmask/cli/user.py')
-rw-r--r-- | src/leap/bitmask/cli/user.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/leap/bitmask/cli/user.py b/src/leap/bitmask/cli/user.py index dccfc7d..3cea0c5 100644 --- a/src/leap/bitmask/cli/user.py +++ b/src/leap/bitmask/cli/user.py @@ -25,7 +25,7 @@ from leap.bitmask.cli import command class User(command.Command): - service = 'user' + service = 'bonafide' usage = '''{name} user <subcommand> Bitmask account service @@ -41,16 +41,20 @@ SUBCOMMANDS: commands = ['active'] + def __init__(self): + super(User, self).__init__() + self.data.append('user') + def create(self, raw_args): username = self.username(raw_args) passwd = getpass.getpass() - self.data += ['signup', username, passwd] + self.data += ['signup', username, passwd, True] return self._send(printer=command.default_dict_printer) def auth(self, raw_args): username = self.username(raw_args) passwd = getpass.getpass() - self.data += ['authenticate', username, passwd] + self.data += ['authenticate', username, passwd, True] return self._send(printer=command.default_dict_printer) def logout(self, raw_args): |