find_device
This commit is contained in:
parent
f8ed4e028a
commit
50464d5247
1
app.py
1
app.py
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user