zeMirco/lockit-couchdb-adapter — pull request #4 by ChromeQ (2014-04-11 15:16:43+00:00)
Title: Keeping consistency with username

lockit-signup calls `// check for duplicate username
adapter.find('username', username, function(err, user) {` where this will not match.
The user doc should contain username rather than name as all mail calls expecting username:
`mail.send(user.username, user.email, user.signupToken, function(err, res) {`