This is the code
if(md5($admin['username'].$pwd) != $admin['password'])
{
exit(json_encode(array('code' => 1,'msg' => 'Wrong password')));
}
After commenting, the login was successful
How to change
How to solve it in the end
The encrypted content may be inconsistent with the content or number of digits of the password saved in the database.
Compare two values
How to change
How to solve it in the end
The encrypted content may be inconsistent with the content or number of digits of the password saved in the database.
Compare two values