Send card hash and not uid
This commit is contained in:
parent
96bf3d887b
commit
b63fe150a0
@ -75,7 +75,7 @@ class Main:
|
|||||||
logging.info("Access card not in allow list, hash trail %s", uid_h[-10:])
|
logging.info("Access card not in allow list, hash trail %s", uid_h[-10:])
|
||||||
success = False
|
success = False
|
||||||
data = {
|
data = {
|
||||||
"uid": value,
|
"uid_hash": uid_h,
|
||||||
"door": self.door,
|
"door": self.door,
|
||||||
"success": success,
|
"success": success,
|
||||||
"timestamp": time.strftime("%Y-%m-%d %H:%M:%S")
|
"timestamp": time.strftime("%Y-%m-%d %H:%M:%S")
|
||||||
|
Loading…
Reference in New Issue
Block a user