I just realized that Postgresql does not differentiate between an invalid username/password or an expired password when
itgives you the error message.
Therefore I have to look for a different way to allow users to select their own passwords.
Thank you,
JFercan