Forum Discussion

mwi's avatar
mwi
Icon for Altocumulus rankAltocumulus
Sep 13, 2022

APM: Show errormessage if AD password change failed

Hi,

i got a request today to display an errormessage if the password change for an AD account failed.

I thougt this would be default, but somehow there is no info/message shown, just the two texfields for the new password and the verification are cleared.

In the apm-log shows up a message "AD module: change password for 'asdf' failed: Password change rejected(4), result_string: (4)"

How can i display an info like "sorry, your password couldnt be changed because it is to short/weak, please use at least 512 characters, a primenumber and the blood from an virgin goat"

Best regard

1 Reply