Support » Plugin: External Login » Limit to One Page

  • Resolved jucylucy

    (@jucylucy)


    Hi! Is it possible to limit this login protocol to only one login form/page? So, if someone visits the client portal page, this plugin would take effect. But if they visit the standard WordPress login page, this plugin wouldn’t be used. It that possible?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author tbenyon

    (@tbenyon)

    Hey @jucylucy,

    The plugin does not currently support this out of the box, however it is possible.

    If you were comfortable writing the logic you could prevent the core hook from firing using the the following line:
    remove_filter('authenticate', 'exlog_auth', 10, 3);

    I must admit I have not tested this. I wanted to do a quick check for you before sending but it has gotten late, my brain is fried and I wanted to get you an initial response out.

    The line of code could be used whenever you wanted to fall back to the default authentication method.

    If however, this is something you’d need help with I can add it to my feature request list.

    Let me know if you have any more questions 🙂

    Thanks,

    Tom

    Plugin Author tbenyon

    (@tbenyon)

    I haven’t heard back so I’m going to assume this solved your problem.

    If you have any more questions, please don’t hesitate to get back in contact.

    Thanks,

    Tom 🙂

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