-
Notifications
You must be signed in to change notification settings - Fork 17
Allow a grace period #14
Comments
Add 2 functions to save and retrieve history of events Fixes privacyidea#14
@qlux: Thank your for your request and suggestion. Do you expect the module to not ask at all? What for? What is your use case? Or do you want to module to accept the same OTP value? |
Hi @cornelinux, Industry standard is to ask for a 2FA once every ~30days maybe, this modification would allow the secondary token through privacyidea to be asked only when a successful authentication hasn't been recorded in the grace period. |
I'm adding the rhost value into the history and modified the python script for the Travis test |
Currently the module does not allow a grace period when a previous authentication was successful. This PR would allow an history of success and errors to be saved in the local sqlite db and returns success without checking the token if the previous success is within the grace period defined in the pam file.
The text was updated successfully, but these errors were encountered: