USEPA / emf

Emissions Modeling Framework (EMF)
6 stars 3 forks source link

implement stronger password requirements #106

Closed cseppan closed 2 years ago

cseppan commented 2 years ago

Requirements

Must not contain your username or any part of your full name that exceeds two characters (Example: cannot be 'SMI' if your last name is 'SMITH').

Must be different from current password

Password length must be a minimum of 12 characters

and contain characters from 3 of the following 4 categories:

ddelvecchio commented 2 years ago

Added additional password requirements in the setPassword method for the User model class. This is where the existing code contained password validation logic.