start,shutdown,suspend,resume,delete merged into one (action)
This commit is contained in:
parent
ec69c1552f
commit
56f3647ec3
11 changed files with 15 additions and 32 deletions
1
commands/helper.py
Normal file → Executable file
1
commands/helper.py
Normal file → Executable file
|
|
@ -11,5 +11,6 @@ class OTPCredentials:
|
|||
seed: str
|
||||
|
||||
def get_json(self):
|
||||
print(self.name, self.realm, self.seed)
|
||||
r = {"name": self.name, "realm": self.realm, "token": TOTP(self.seed).now()}
|
||||
return r
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue