Skip to content

Commit

Permalink
fix: remove recoveryId once used
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Jan 29, 2024
1 parent 20fc214 commit 09e5f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 09e5f66

Please sign in to comment.