At the moment the user password is generated from the userid by wkcocos code. This is not good because it makes hacking the user easier than it should be just by looking at wkcocos code.
Instead wkcocos should take a callback in the player parameter so that the client code ( the game ) can generate the password from the userid.
Also the local file saving the user id should be encrypted with a predefined key, so that retrieving the id is not trivial.
At the moment the user password is generated from the userid by wkcocos code. This is not good because it makes hacking the user easier than it should be just by looking at wkcocos code.
Instead wkcocos should take a callback in the player parameter so that the client code ( the game ) can generate the password from the userid.
Also the local file saving the user id should be encrypted with a predefined key, so that retrieving the id is not trivial.