mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
7b4c3fc085
closes #8342 - no need to add a migration, because when we'released 1.0, OAuth was never an option - it was disabled in April, 1.0-beta was released in June - remove all remote authentication code
14 lines
348 B
JavaScript
14 lines
348 B
JavaScript
var passport = require('./passport'),
|
|
authorize = require('./authorize'),
|
|
authenticate = require('./authenticate'),
|
|
oauth = require('./oauth');
|
|
|
|
exports.init = function (options) {
|
|
oauth.init(options);
|
|
return passport.init(options);
|
|
};
|
|
|
|
exports.oauth = oauth;
|
|
exports.authorize = authorize;
|
|
exports.authenticate = authenticate;
|