ten24/Slatwall — pull request #2473 by christopher-kundrat (2014-10-06 18:00:50+00:00)
Title: Feature password management

Created new function in the AccountDAO to get the active password by an accountID. Added a new property to display the proper regex error message on the update password form. Added code to the AccountService when it is looping over the passwords and deleting older records. Now if the password that is going to be deleted is the one that is stored in the session, the session will set the authentication to the active password before deleting the current authentication. This prevents an error that occurs when a user changes their password too many times in a single session.