Support » Plugin: Next Active Directory Integration » Specify password recovery link

  • Resolved klishb

    (@klishb)


    I have disabled lost password recovery and would prefer they our self service password reset URL. Is there a hook I could leverage to specify a custom password reset URL on the resulting page that currently tells them “Lost Password feature has been disabled by the “Next Active Directory Integration” plugin.”?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author schakko

    (@schakko)

    There is no hook available. As the authentication is done by the Active Directory, you should Outlook Web Access to let your AD users to change their passwords.

    We use Exchange Online for email and self-service password reset via Azure AD.

    I changed my password reset URL by adding this to my functions.php:

    add_filter( 'lostpassword_url', 'my_lost_password_page', 10, 2 );
    function my_lost_password_page( $lostpassword_url) {
        return 'https://aka.ms/sspr';
    }

    Now it just brings them to the Azure self service password reset url. Works well.

    This gets me to thinking at some point I’ll probably completely change this site to use Azure as the authentication provider as well. At the time I set this site up we didn’t have the accounts sync’ing to Azure so it wasn’t an option at the time.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.