diff --git a/src/server.js b/src/server.js index 60517c4..f8d6349 100644 --- a/src/server.js +++ b/src/server.js @@ -244,7 +244,7 @@ class CoCreateUser { data.method = 'object.update' data.array = "keys" - data.object = { password: data.password } + data.object = { password: data.password, recoveryId: "" } data.$filter = { query: { email: data.email, recoveryId: data.token }, limit: 1