diff --git a/app/index.js b/app/index.js index 4154db1f2..fa5d94e8f 100644 --- a/app/index.js +++ b/app/index.js @@ -248,6 +248,7 @@ var AngularFullstackGenerator = yeoman.generators.Base.extend({ if(this.filters.socketio) angModules.push("'btford.socket-io'"); if(this.filters.uirouter) angModules.push("'ui.router'"); if(this.filters.uibootstrap) angModules.push("'ui.bootstrap'"); + if(this.filters.auth) angModules.push("'ng.confirmField'"); this.angularModules = "\n " + angModules.join(",\n ") +"\n"; }, diff --git a/app/templates/_bower.json b/app/templates/_bower.json index 1681050a2..46fac9b66 100644 --- a/app/templates/_bower.json +++ b/app/templates/_bower.json @@ -16,7 +16,8 @@ "font-awesome": ">=4.1.0", "lodash": "~2.4.1"<% if(filters.socketio) { %>, "angular-socket-io": "~0.6.0"<% } %><% if(filters.uirouter) { %>, - "angular-ui-router": "~0.2.10"<% } %> + "angular-ui-router": "~0.2.10"<% } %><% if(filters.auth) { %>, + "angular-confirm-field": "~0.1.2"<% } %> }, "devDependencies": { "angular-mocks": ">=1.2.*", diff --git a/app/templates/client/app/account(auth)/settings/settings(html).html b/app/templates/client/app/account(auth)/settings/settings(html).html index 94d0ee013..f02708292 100644 --- a/app/templates/client/app/account(auth)/settings/settings(html).html +++ b/app/templates/client/app/account(auth)/settings/settings(html).html @@ -28,9 +28,9 @@
{{ errors.other }} @@ -38,9 +38,9 @@
<% if (filters.oauth) { %>{{ user.localEnabled ? 'Change' : 'Set' }}<% } els
+ Passwords must match. +
{{ message }}
A name is required @@ -21,9 +21,9 @@
@@ -39,9 +39,10 @@