yeojz / otplib

:key: One Time Password (OTP) / 2FA for Node.js and Browser - Supports HOTP, TOTP and Google Authenticator

Home Page:https://otplib.yeojz.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Regarding increase of step time

deenadayalanr opened this issue · comments

I am using TOTP from otplib package.....I require the increase in step from 30 seconds to 10 minutes....since I am sending the otp through mail for the users they need some time to check their mail and enter the otp...Is there a way to increase the step value.

totp.options = {step: 600};