Ajax jQuery post request not returning data

Ajax jQuery post request not returning success data, just returns error status even when the data has been sent to server.

I have a plugin am building on WordPress, I have a login form that makes an ajax post request that sends data to server using php.

The php is meant to return success array object but the ajax jQuery keeps returning error status.

GitHub link for the WordPress plugin

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.