We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description isStrongPassword function is not considering '@' as a Special Character
Example
(() => { const validator = require('validator'); console.log(validator.isStrongPassword('Aa1Bb2Cc3!')); console.log(validator.isStrongPassword('Aa1Bb2Cc3@')); console.log(validator.isStrongPassword('Aa1Bb2Cc3#')); })()
Output ---
true false true
The text was updated successfully, but these errors were encountered:
@
Hi, The character \ is not being accepted either as a symbol. I found it while testing all symbols I could think of after the @ bug.
Sorry, something went wrong.
Good catches. I guess \ was because of it being an escape for regex...
\
@Kpal22 Ran into this as well. The regex in the source doesn't have the @ symbol in it. Should be an easy fix.
Successfully merging a pull request may close this issue.
Description
isStrongPassword function is not considering '@' as a Special Character
Example
Output ---
The text was updated successfully, but these errors were encountered: