-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Open
Labels
ext:debugstatus:to be verifiedNeeds to be reproduced and validated.Needs to be reproduced and validated.
Description
I'm not sure if this is a bug or I should handle it. :)
What steps will reproduce the problem?
Create users collection in mongodb. Login as user. Make auth key no more valid and /yii/web/user will try do this but id is not a string but ObjectId and it will throw Array to string conversion
Yii::warning("Invalid auth key attempted for user '$id': $authKey", METHOD);
What is the expected result?
Maybe do (string) $id ? I'm not sure
What do you get instead?
Array to string conversion exception
Additional info
Q | A |
---|---|
Yii version | 2.0.? |
PHP version | 7.1 |
Operating system | Linux |
Metadata
Metadata
Assignees
Labels
ext:debugstatus:to be verifiedNeeds to be reproduced and validated.Needs to be reproduced and validated.