Added status to VM (entry) on creation, correctly wrap (etcd) critical section using lock
This commit is contained in:
parent
126a3415e5
commit
588c2462de
3 changed files with 15 additions and 4 deletions
|
|
@ -5,6 +5,7 @@ from decouple import config
|
|||
from pyotp import TOTP
|
||||
from etcd import EtcdKeyNotFound
|
||||
|
||||
|
||||
def check_otp(name, realm, seed):
|
||||
try:
|
||||
data = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue