Wiredcraft / carcass

A toolbox for Node.js.
http://wiredcraft.com/carcass/
MIT License
33 stars 8 forks source link

modified version of auth example #29

Closed fraserxu closed 11 years ago

fraserxu commented 11 years ago

@makara Do you mean right in the builder object? And as for the error message, do I have to take err as an argument for the error message or just "throw new Error('can not find password property');"?

makara commented 11 years ago

I expect you give the ideas. Please investigate and think about it.

makara commented 11 years ago

Please also build an application in the example to

You may need to prepare a saved user with a hashed password somewhere.

Another question. In the other pull request #21, it's using this.password(sha); to update the password. Why so? Should we use that syntax or not?