Send card hash and not uid

This commit is contained in:
Arti Zirk 2020-11-03 21:48:57 +02:00
parent 96bf3d887b
commit b63fe150a0

View File

@ -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")