Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PINs or passwords for users #301

Open
sde1000 opened this issue Nov 20, 2024 · 0 comments · May be fixed by #308
Open

PINs or passwords for users #301

sde1000 opened this issue Nov 20, 2024 · 0 comments · May be fixed by #308

Comments

@sde1000
Copy link
Owner

sde1000 commented Nov 20, 2024

Some sites have an issue with till users just grabbing a wristband or other NFC token and using it, not caring whether it is their own.

We could enable users to set a PIN or password, which the till could check in some circumstances. The best compromise between usability and security that I can think of is to check the PIN or password if the usertoken being used has not been seen for some time. (So, someone ["A"] working and regularly tapping in will not be asked for their PIN; if someone else ["B"] picks up another wristband that is also assigned to "A" and tries to use it, they will be asked for "A"'s PIN.)

Schema changes:

  • Add a password column to User
  • Add a "last successful login" column to UserToken, to be updated whenever the token is successfully used to access the till (whether the password was requested or not)

Configuration options:

  • Do we require users to set a PIN or password if they do not currently have one?
  • Should users be asked for their PIN or password?
  • How long can a usertoken go without being used successfully before the password is requested again?

We could possibly combine the last two into a single config item; no checks if blank, otherwise it's a length of time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant