increase otp time duration
This commit is contained in:
parent
7ea7f13e9b
commit
b42055bd4b
|
@ -1,6 +1,6 @@
|
||||||
import time, pyotp
|
import time, pyotp
|
||||||
|
|
||||||
totp = pyotp.TOTP(pyotp.random_base32())
|
totp = pyotp.TOTP(pyotp.random_base32(), interval=45)
|
||||||
|
|
||||||
code = totp.now()
|
code = totp.now()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue