find_device

This commit is contained in:
aitzol 2023-04-11 18:22:56 +02:00
parent f8ed4e028a
commit 50464d5247

1
app.py
View File

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