Passwords containing symbols like '%' where altered without notifying the user resulting in error messages saying the password is wrong while trying to connect to a MySQL database despite knowing its' right. My guess is that the ajax function automatically encodes/decodes the data in it's post request making a password like: 'abc%123' become: 'abc3' while the php function didn't perform any attempt to restore the original password.
(This is not tested) but it shows the concept and the cause of this issue.
Passwords containing symbols like '%' where altered without notifying the user resulting in error messages saying the password is wrong while trying to connect to a MySQL database despite knowing its' right. My guess is that the ajax function automatically encodes/decodes the data in it's post request making a password like: 'abc%123' become: 'abc3' while the php function didn't perform any attempt to restore the original password.
(This is not tested) but it shows the concept and the cause of this issue.