Permalink
Browse files

Added Yammer to auth

  • Loading branch information...
1 parent f834c5e commit 6534a128fff56b79ffb222290ae8aa40414f74e3 mde committed Nov 14, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 templates/Jakefile
View
@@ -767,7 +767,7 @@ namespace('auth', function () {
var go = false
// FIXME: Pull these version numbers out of geddy-passport's package.json
, packages = 'geddy-passport@0.0.x passport@0.1.x passport-local@0.1.x ' +
- 'passport-facebook@0.1.x passport-twitter@0.1.x'
+ 'passport-facebook@0.1.x passport-twitter@0.1.x passport-yammer@0.1.x'
, readline = require('readline')
, rl = readline.createInterface({
input: process.stdin
@@ -818,6 +818,8 @@ namespace('auth', function () {
"router.get('/auth/twitter/callback').to('Auth.twitterCallback');\n" +
"router.get('/auth/facebook').to('Auth.facebook');\n" +
"router.get('/auth/facebook/callback').to('Auth.facebookCallback');\n" +
+ "router.get('/auth/yammer').to('Auth.yammer');\n" +
+ "router.get('/auth/yammer/callback').to('Auth.yammerCallback');\n" +
"router.resource('users');";
if (addRoute(routerPath, newRoute)) {

0 comments on commit 6534a12

Please sign in to comment.