Removed the code that set expiration date on password creation.
Update the reset password conditional on login to also check for whether
or not the account is an admin account and if their password was created
over 90 days ago.
Removed the code that set the resetPasswordFlag to true upon create
password. Moved the conditional to check if a password reset was
required to its own private function. Added the check if the password
was created by another user. Also added a conditional to that function
to make sure that admin passwords are strong.
Added validation messages for admin passwords that are not strong enough
Added RBKey for when an account gets locked
Created a new function in the account entity to return a list of all
accountAuthentications for that account minus passwords that have an
active flag of false. This then is used to display the authentications
in the view instead of just using the getAccountAuthentiations function.
Updated the getActiveAccountAuthentications to not delete the actually
authentications in the entity. So instead of the arrayDelete, we are
arrayAppending to a new array.
Updated the delete authentication function to have a more accurate
name.Also adjusted the function call to return to make sure that only
'4' are kept instead of '5'. Updated the math for how many to loop over
so that the correct number of records get deleted.
Updated the login function so that only admin accounts get locked after
too many attempts.