fix #159: promisify formatUserForSerialization() method and add a trigger to enable plugins to change user data (for example, hide user password for kuzzle-plugin-auth-passport-local)
fix #159: promisify formatUserForSerialization() method and add a trigger to enable plugins to change user data
(for example, hide user password for kuzzle-plugin-auth-passport-local)

kuzzleio/kuzzle,kuzzleio/kuzzle,kuzzleio/kuzzle,kuzzleio/kuzzle