Forums

Login With Ajax
[resolved] Wrong password takes me to the login page (8 posts)

  1. Okoth1
    Member
    Posted 1 year ago #

    When I type a wrong username or password I am redirected to
    http://www.domain.com/wp-login.php?callback=?&template= which shows the old-fashion login page.

    How can I avoid this?
    Thanks

  2. Marcus
    Member
    Posted 1 year ago #

    this usually happens when you get a javascript error, and it falls back to the old login mode.

    do you get any errors when accessing the page with the lwa widget?

  3. Okoth1
    Member
    Posted 1 year ago #

    Thanks for the quick reply, Marcus. I wanted to write back but got power cut.

    Anyway. I got it working again. I had modified the plugin a bit since the login confirmations were pushing the layout to the bottom.

    I'll start from fresh again.

  4. Marcus
    Member
    Posted 1 year ago #

    yes, make sure the ids of the divs remain the same. I'm going to create some docs for this eventually, but I'm still working on providing a more solid templating system.

  5. Okoth1
    Member
    Posted 1 year ago #

    Yeah, I was quite sure all of these were the same.

    I had transfer it into a horizontal login instead of vertical. So with the next update I have to change it again. Maybe a choice on the option page? Example http://allrecipes.com

  6. Marcus
    Member
    Posted 1 year ago #

    that's a pretty cool implementation. I only see lwa (or at least one where the ajax works) on http://allrecipes.com/Login.aspx, is that the only place?

  7. Marcus
    Member
    Posted 1 year ago #

    oh, btw, I'm intending to add better templating, and provide a few sample templates and maybe somewhere where people could share their templates...

  8. Okoth1
    Member
    Posted 1 year ago #

    It is on every page at the top right corner. That's the one I meant. I had it ready and working. Not too difficult to change the layout into this one.

    It would be great if you could create some sample templates. It safes some time after an update for the user.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic