Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase length limit for email token generation #2257

Merged
merged 1 commit into from
Jan 28, 2022

Conversation

jjlin
Copy link
Contributor

@jjlin jjlin commented Jan 24, 2022

The current limit of 19 is an artifact of the implementation, which can be
easily rewritten in terms of a more general string generation function.
The new limit is 255 (max value of a u8); using a larger type would
probably be overkill.

The current limit of 19 is an artifact of the implementation, which can be
easily rewritten in terms of a more general string generation function.
The new limit is 255 (max value of a `u8`); using a larger type would
probably be overkill.
@dani-garcia dani-garcia merged commit 0876d4a into dani-garcia:main Jan 28, 2022
@jjlin jjlin deleted the email-token branch February 13, 2022 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants