find_device

This commit is contained in:
aitzol 2023-04-11 18:22:56 +02:00
parent f8ed4e028a
commit 50464d5247
1 changed files with 1 additions and 0 deletions

1
app.py
View File

@ -873,6 +873,7 @@ def is_trusted_device(conf, user_dn):
except Exception as e:
print(e)
return True
def update_login_info(conf, user_dn):
superUser = SuperUsers(conf)
with connect_ldap(conf, user=superUser.admin_dn, password=superUser.admin_pwd) as c: