We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c798dc8 commit ebec622Copy full SHA for ebec622
2 files changed
client/app/modules/users/controllers/register.ctrl.js
@@ -111,6 +111,7 @@ angular.module('com.module.users')
111
$scope.register = function() {
112
113
$scope.registration.username = $scope.registration.email;
114
+ delete $scope.registration.confirmPassword;
115
$scope.user = User.save($scope.registration,
116
function() {
117
common/models/user.js
@@ -8,7 +8,6 @@ module.exports = function (user) {
8
}
9
ctx.instance.status = 'created';
10
ctx.instance.created = Date.now();
11
- ctx.instance.confirmPassword = null;
12
13
next();
14
});
0 commit comments