Thank you Mike - that’s a really nice solution!
I’m using 2fa, and there is a restriction that doesn’t allow a task after the login step.

So I’m thinking of following your process, but resetting the counter at the load of the 2fa page instead of just after the login. Not sure if bubble always goes to the 2fa page, or only goes there when the 2fa token has expired. Perhaps it needs to be reset on every secured page in the app, as part of checking if the user has logged in!
Any thoughts?
Best wishes,
James