Login issue

Hello I have downloaded the demo application which uses Angular JS and yii2 together and .The login functionality is working in the localhost but on another server I am getting the below error :-

{"name":"Unauthorized","message":"You are requesting with an invalid credential.","code":0,"status":401


Using PHP 5.6

It means your token is wrong…please check in the user table whether you have this token