We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
oauth
.yo-rc.json
1 parent 4000c4a commit 11d324bCopy full SHA for 11d324b
app/index.js
@@ -42,6 +42,16 @@ var AngularFullstackGenerator = yeoman.generators.Base.extend({
42
default: true,
43
}], function (answers) {
44
this.skipConfig = answers.skipConfig;
45
+
46
+ // NOTE: temp(?) fix for #403
47
+ if(typeof this.oauth==='undefined') {
48
+ var strategies = Object.keys(this.filters).filter(function(key) {
49
+ return key.match(/Auth$/) && key;
50
+ });
51
52
+ if(strategies.length) this.config.set('oauth', true);
53
+ }
54
55
cb();
56
}.bind(this));
57
} else {
0 commit comments