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

Include number sometime does not work #80

Closed
Ashwinkumar-R opened this issue Jan 2, 2023 · 1 comment
Closed

Include number sometime does not work #80

Ashwinkumar-R opened this issue Jan 2, 2023 · 1 comment

Comments

@Ashwinkumar-R
Copy link

Hi,

I have set numbers: true, but most of the time the generated password does not include a number. It is buggy. Would be great if you fix it.

Thanks,
Ashwin

@brendanashworth
Copy link
Owner

You also need to pass strict: true, otherwise there's no guarantee it'll include a number. See https://github.com/brendanashworth/generate-password#available-options

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

No branches or pull requests

2 participants