php - Failed login in yii framewok because user id primary key has a foreign key to other table -
i have database table in postgresql , yii table table user , table request. attributes user.id_user primary key refer request table foreign key
user.id_user pk refer request.id_user (fk)
i submit request through form , save id_user in request. log out , can't login again username , password..
it said
incorrect username or password.
i have try other username , password , it's again.. there authenticate code
`
please tell me problem , solution problem . thank you..
here login configuration examples
http://www.yiiframework.com/forum/index.php/topic/45600-yii-autentication-with-mysql/ http://www.larryullman.com/2010/01/04/simple-authentication-with-the-yii-framework/
Comments
Post a Comment