defguard icon indicating copy to clipboard operation
defguard copied to clipboard

Add configuration of 2FA code lifetime

Open teon opened this issue 11 months ago • 1 comments

Currently we have a fixed time of 60s for 2fa lifetime. Please:

  1. add a configuration value like. DEFGUARD_MFA_CODE_LIFETIME in minutes.
  2. based on the setting add to email information how long the code is valid.

teon avatar Mar 12 '24 11:03 teon

Ok tested and working, needs DOCS - reassigning as I have struggled to define proper configuration. I would not inform about milliseconds - I would inform about minutes - eg. 240sec or 240minutes.. in the log there are secoonds and milsieconds as an example...

teon avatar Mar 15 '24 12:03 teon