Skip to content

Instantly share code, notes, and snippets.

@astrotars
Last active July 23, 2018 22:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save astrotars/8ee71eb18e952ae4482df2e54aea9e6e to your computer and use it in GitHub Desktop.
Save astrotars/8ee71eb18e952ae4482df2e54aea9e6e to your computer and use it in GitHub Desktop.
function validatePassword(password) {
if (password !== 'bambi') {
return done('Password mismatch!');
}
return done(null);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment