increase otp time duration
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import time, pyotp
|
||||
|
||||
totp = pyotp.TOTP(pyotp.random_base32())
|
||||
totp = pyotp.TOTP(pyotp.random_base32(), interval=45)
|
||||
|
||||
code = totp.now()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user