mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-05-18 09:50:01 +08:00
fixbug
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user