Oauth linking and unlinking controller and route placeholders

This commit is contained in:
Sahat Yalkabov
2013-12-12 14:05:35 -05:00
parent ef967cafda
commit e0bdccbd2c
2 changed files with 16 additions and 3 deletions

View File

@ -124,10 +124,21 @@ exports.postSignup = function(req, res) {
};
/**
* GET /admin
* POST /account/link
* @param req
* @param res
*/
exports.getAdmin = function(req, res) {
res.send('access granted admin!');
exports.postOauthLink = function(req, res) {
console.log('linking oauth2');
};
/**
* POST /account/unlink
* @param req
* @param res
*/
exports.postOauthUnlink = function(req, res) {
console.log('unlinking oauth2');
};
/**