Open ArthurGuy opened 1 year ago
Thanks for looking at this. These log messages were to do with us figuring out how to get user validation through the API working. I think there might be a bug in Services/KeyFobAccess.php: verifyForDevice()
in that it apparently calls isUserTrained()
with the device key rather than the slug.
After a bit of trial and error with the settings presented on /equipment/<slug>/edit
we found that by ensuring Slug
matches Device Key
matches Induction Category
, the equipment activity log, the trained/pending users and the user validation API all seem to work correctly. If any of these strings differ from the others then something breaks.
View details in Rollbar: https://rollbar.com/arthurguy/BBMS/items/467/