mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-03-29 16:48:02 +08:00
fix #32
This commit is contained in:
@@ -60,7 +60,7 @@ exports.removeToken = (token, callback = null) ->
|
||||
|
||||
exports.authenticate = (token, callback) ->
|
||||
unless token
|
||||
callback null
|
||||
return callback null
|
||||
|
||||
exports.findOne
|
||||
'tokens.token': token
|
||||
|
||||
Reference in New Issue
Block a user