Im trying to get a front end login form to work over ajax and running into issues, it seems to always pass back success and not sure how to actual make sure the cookie gets created and the user is logged in?

here is the gist of what i have right now: https://gist.github.com/keithmancuso/29e8446ec5fa66fb2b01


If you’re getting the {success: true} response, then the user is getting logged in successfully, and the cookie would have actually been created by that response.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.