diff --git a/templates/api/services/protocols/bearer.js b/templates/api/services/protocols/bearer.js
index <HASH>..<HASH> 100644
--- a/templates/api/services/protocols/bearer.js
+++ b/templates/api/services/protocols/bearer.js
@@ -13,7 +13,7 @@ exports.authorize = function(token, done) {
   Passport.findOne({ accessToken: token }, function(err, passport) {
     if (err) { return done(err); }
     if (!passport) { return done(null, false); }
-    User.findById(passport.user, function(err, user) {
+    User.findOneById(passport.user, function(err, user) {
       if (err) { return done(err); }
       if (!user) { return done(null, false); }
       return done(null, user, { scope: 'all' });
In sails <I> findById returns and array

In sails <I> `findById` returns and array. One might expect to be able to access the user model by `req.user` instead of `req.user[0]`