I have the following user:
{
_id: ObjectId("579200c4e193d94b453f1d6f"),
_key: "user:13",
username: "ana",
userslug: "ana",
email: "[email protected]",
joindate: 1469186244052,
lastonline: 1469186244052,
picture: "",
fullname: "",
location: "",
birthday: "",
website: "",
signature: "",
uploadedpicture: "",
profileviews: 1,
reputation: 0,
postcount: 0,
topiccount: 0,
lastposttime: 0,
banned: 0,
status: "online",
uid: 13,
password: "EDITED",
passwordExpiry: 0
}
And I have the following object with will be transformed to JSON WEB TOKEN:
{"id":"13","username":"ana"}
The problem is that the plugin creates a new user called ana115
What can I do here?