PaulC91 / shinyauthr

R package with shiny authentication modules
https://paulc91.github.io/shinyauthr/
Other
427 stars 81 forks source link

Allow multiple PWs (one time token) per user #33

Open Tazinho opened 4 years ago

Tazinho commented 4 years ago

Thank you very much for this great package. I have a use case for which we want to implement a token solution. Each token can be used exactly once. Each user can have multiple tokens. Unfortunately, shinyauthr checks that the username entered is unique in the user data. After a short look at the code in the login script I think that this can be easily rewritten. Would you consider this option? If it would help, I could also try to set up an appropriate pull-request.