Permalink
Browse files

Fix wrong method name in readme

  • Loading branch information...
1 parent d103152 commit 9cbee88f216d7502245bfc8d8e2d4988448fdea6 @tdksk committed Jan 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -33,7 +33,7 @@ Add Validation
--------------
```javascript
-User.setHashedPassword('sha256', validatePassword);
+User.defineHashedPassword('sha256', validatePassword);
function validatePassword(value) {
return value && value.length >= 4; // The password must be at least 4 characters long

0 comments on commit 9cbee88

Please sign in to comment.