File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ var AngularFullstackGenerator = yeoman.generators.Base.extend({
166
166
if ( answers . mongoose ) this . filters . mongoose = true ;
167
167
if ( answers . auth ) this . filters . auth = true ;
168
168
if ( answers . oauth ) {
169
- if ( answers . oauth . length ) this . filters [ ' oauth' ] = true ;
169
+ if ( answers . oauth . length ) this . filters . oauth = true ;
170
170
answers . oauth . forEach ( function ( oauthStrategy ) {
171
171
this . filters [ oauthStrategy ] = true ;
172
172
} . bind ( this ) ) ;
Original file line number Diff line number Diff line change 8
8
module . exports = {
9
9
DOMAIN : 'http://localhost:9000' ,
10
10
SESSION_SECRET : "<%= _.slugify(appname) + '-secret' %>" , < % if ( filters . facebookAuth ) { % >
11
+
11
12
FACEBOOK_ID : 'app-id' ,
12
13
FACEBOOK_SECRET : 'secret' , < % } if ( filters . twitterAuth ) { % >
14
+
13
15
TWITTER_ID : 'app-id' ,
14
16
TWITTER_SECRET : 'secret' , < % } if ( filters . googleAuth ) { % >
17
+
15
18
GOOGLE_ID : 'app-id' ,
16
- GOOGLE_SECRET : 'secret' , < % } % >
19
+ GOOGLE_SECRET : 'secret' ,
20
+ < % } % >
17
21
// Control debug level for modules using visionmedia/debug
18
22
DEBUG : ''
19
23
} ;
You can’t perform that action at this time.
0 commit comments