Skip to content

Instantly share code, notes, and snippets.

@martijnvogten
Created December 2, 2017 17:07
Show Gist options
  • Save martijnvogten/2d75df71cc2f563c0734f9700cbcac55 to your computer and use it in GitHub Desktop.
Save martijnvogten/2d75df71cc2f563c0734f9700cbcac55 to your computer and use it in GitHub Desktop.
DB.update("user", {hash: passwordHash, salt: passwordSalt}, {id: userId});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment