Skip to content

Negative numbers are allowed as expiration dates for setup-keys #251

Closed
@mlsmaycon

Description

Entering -1 or -10 as expiration days for a setup key is allowed and allows a user to submit an API request.

We should use the same check as for User > Access tokens, 1 to 365 days, so let's consolidate the check and reuse in both objects.

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions