We’re using a custom authentication script with Active Directory, and we also have the need to deactivate some of our users who haven’t logged on for some time (some may have left the company).
Currently, when a deactivated user tries to login, they see an error message saying their credentials are invalid (or words to that effect). I would like to know if it is possible to display a meaningful message, like contact and administrator to request reactivation. The ability to display custom text, such as a link to our internal Slack channel would be great.
Does this kind of functionality exist when using a custom authentication script?