Changeset 489 for Dev/trunk/src/node_modules/passport/lib
- Timestamp:
- 03/08/14 11:41:10 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/src/node_modules/passport/lib/passport/index.js
r484 r489 236 236 */ 237 237 Passport.prototype.authorize = function(strategy, options, callback) { 238 var fwAuthorize = this._framework && (this._framework.authorize || this._framework.authenticate); 239 238 240 options = options || {}; 239 241 options.assignProperty = 'account'; 242 243 if (fwAuthorize) { 244 return fwAuthorize(strategy, options, callback).bind(this); 245 } 240 246 241 247 return authenticate(strategy, options, callback).bind(this);
Note: See TracChangeset
for help on using the changeset viewer.