Try ERPNext Buy Support Partners Foundation Foundation Members

How long till 2FA Verification Code expire?

Hello ERPiers.
I have enabled Two Factor Authentication via Email
I would like to know how long does it take till the verification code expire?
I know it’s some few minutes but can I get a specific time?

I’m running
ERPNext: v10.1.58 (master)
Frappe Framework: v10.1.50 (master)

Thanks.

No expiry is set for now. @saurabh6790 opportunity to get better hear.

@deatram could you please create a Github Issue for this feature request and share here?

Thats strange,
Some day I delayed to enter Verification codes then I got an error saying Invalid Login.
It was after 6 minutes

I requested the verification codes again, they worked.

Logged out and tested again, this time with a stopwatch running, same results. Verification codes didn’t work after 6 minutes.
So I assumed there must have been expiry time somewhere around 6 or 5 minutes