This commit is contained in:
jysperm
2014-06-27 11:44:11 +08:00
parent 77da8cb1ab
commit 6b5da77ca9

View File

@@ -138,7 +138,7 @@ exports.removeToken = (token, callback) ->
exports.authenticate = (token, callback) ->
unless token
return callback null
return callback true, null
exports.findOne
'tokens.token': token