superlogin icon indicating copy to clipboard operation
superlogin copied to clipboard

How can I remove confirmPassword requirement?

Open tobydeh opened this issue 7 years ago • 0 comments

I dont want my users to confirm their password when registering. How can I remove the requirement?

My config looks like this:

 userModel: {
    validate: {
      confirmPassword: {
        presence: false
      }
    }
  },
  local: {
    emailUsername: true,
    passwordConstraints: {
      matches: ''
    }
  },

However I still receive the 'Password does not match confirmPassword' validation error.

tobydeh avatar Oct 27 '17 11:10 tobydeh