Successful login with expired password

Successful login with expired password

Hello,

I use special software that allows the user to successfully login using this software when the password in AD has expired. How can I track situations when the password has expired, but the user has successfully logged into the AD?

Thank.