The new password must be at least 8 characters long, and have at least 1 lowercase letter, 1 uppercase letter, 1 digit and a special character.
I'd like to add that this requirement is something that is no longer recommended, as it may result in users using weaker passwords. The only recommendation that current and up-to-date best practices recommend is the minimal password length (which nowadays might have to be larger than 8 characters).
I agree that is probably not not the best requirement regarding security when talking about passwords. But is still similar to what companies enforce to their employees, and what many systems and applications are still built with.
So thank you for the opportunity to enphasize that using that requirement as example in my post has no intention of suggesting it as a good requirement for password now a days, it was added with the sole purpose of having a requirement that will be familiar for most readers, short, and at the same time provide enough scenarios for a TDD example.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'd like to add that this requirement is something that is no longer recommended, as it may result in users using weaker passwords. The only recommendation that current and up-to-date best practices recommend is the minimal password length (which nowadays might have to be larger than 8 characters).
Thank you for your comment.
I agree that is probably not not the best requirement regarding security when talking about passwords. But is still similar to what companies enforce to their employees, and what many systems and applications are still built with.
So thank you for the opportunity to enphasize that using that requirement as example in my post has no intention of suggesting it as a good requirement for password now a days, it was added with the sole purpose of having a requirement that will be familiar for most readers, short, and at the same time provide enough scenarios for a TDD example.