Yii Framework Forum: Login issue - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Login issue Login issue in yii2 with Angular js

#1 User is offline   manal 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 11-May 16

Posted 20 September 2016 - 07:15 AM

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
,"type":"yii\\web\\UnauthorizedHttpException"}
0

#2 User is offline   manal 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 11-May 16

Posted 20 September 2016 - 07:21 AM

Using PHP 5.6
0

#3 User is offline   chandran 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 548
  • Joined: 08-October 12
  • Location:Austria

Posted 30 September 2016 - 05:29 AM

View Postmanal, on 20 September 2016 - 07:21 AM, said:

Using PHP 5.6


It means your token is wrong..please check in the user table whether you have this token
Thanks
chandran nepolean

My own extension:
http://www.yiiframew...sion/ejqueryte/
http://www.yiiframew...uallistboxyii1/

My wiki
http://www.yiiframew...checkboxcolumn/

If it work dont hesitate to click +1 button
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users