We have our moodle environment set to authenticate against LDAP. (Moodle version 3.8.1)
When a user's password is about expire, moodle sends a popup stating that
"Your password will expire in 6 days. Do you want to change your password now?
with the options to Click Continue or Cancel
Naturally, the user clicks Continue, whereupon they receive a notice that

We have set the forgot password URL to our external password recovery site but have yet to find where
the default password reset url gets defined.
Unfortunately, even though we plaster instructions about passwords all over the login page, no-one reads them
and they naturally click the continue button.
Eventually their network password expires and they end up going to helpdesk after the account has been locked.
Thanks!!
Chris Knowles
Redeemer University