Skip to content

for same phone number, avoid repeated create otp in a short time #2

Open
@harrykc

Description

Hi, thanks for the package, i want to avoid user generate otp repeated in short time.

Let say same phone number, can only generate new otp after x minutes/seconds from previous generated, i know i can store related record to session or db, but i think it can embed into the hash. And add a new function to check if allow to generate new otp for this phone number base on x minutes/seconds. btw, no limit if this value have not set for sure.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions