Commit 2a6c4f6e authored by Mitchell Pomery's avatar Mitchell Pomery Committed by Mark Tearle
Browse files

Fix bug were cards read before logging in cannot be read until a logout occurs

parent 33c571c7
......@@ -887,6 +887,7 @@ def handle_mifare_event(state, event, params, v, vstatus):
(center('SORRY'), False, 0.5)])
vstatus.cur_user = ''
vstatus.cur_pin = ''
_last_card_id = -1
reset_idler(v, vstatus, 2)
return
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment