• Hi,

    i am using the Agreeable together with Login-With-Ajax, a loginscreen replacement supported by Ajax.

    Both work fine. The Terms and Conditions Checkbox appears after the login form fields in the ajax form. When the user accepts the terms he gets redirected, when he doesnt, login-with-ajax returns the generic wordpress error code ?authentication failed?

    It seems like the error code from Agreeable does not get passed into the login function inside login-with ajax, thus only returning generic.

    i need to check for the terms checkbox via post inside login with ajax to return a sensible error code. Any hints for how this could be done? I’m glad about any help.

    The interesting part is in login-with-ajax.php L:178

    Thanks in Advance for any hints or help!

    https://www.ads-software.com/plugins/agreeable/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor kraftpress

    (@kraftpress)

    Hmmm, odd. The error that Agreeable sends back is in the standard WordPress error array so it sounds like Login With Ajax isn’t pulling that in correctly. I’ll take a look at it and see if I can track down the issue.

    Honestly we’re almost at the point where we’re ready to write our own Ajax / Custom login plugin lol No one else who does this kind of thing seems to do it in the standard WordPress way ??

    Thread Starter Dreimorgen

    (@dreimorgen)

    Wow, thanks for the quick reply! I appreciate that. Also thanks for looking into it.
    If you could point me to an ajax login where this works, that’d be awesome too.

    Anyway thanks ??

    Thread Starter Dreimorgen

    (@dreimorgen)

    Hey Ian,

    just wanted to check if you have any new insight on the problem? or maybe a way to work around it. I would be so glad.

    cheers!

    Plugin Contributor kraftpress

    (@kraftpress)

    Looking into it, it’s on the chopping block ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Agreeable and Login-With-Ajax’ is closed to new replies.