diff --git a/src/user/auth.js b/src/user/auth.js index 4347c860d1..1fbc316f18 100644 --- a/src/user/auth.js +++ b/src/user/auth.js @@ -55,7 +55,7 @@ module.exports = function (User) { var token; async.waterfall([ function (next) { - User.getUserField(uid, 'rss_token', next); + db.getObjectField('user:' + uid, 'rss_token', next); }, function (_token, next) { token = _token || utils.generateUUID();