colinskow / superlogin

Powerful authentication for APIs and single page apps using the CouchDB ecosystem which supports a variety of providers.
MIT License
370 stars 116 forks source link

How can I remove confirmPassword requirement? #190

Open tobydeh opened 6 years ago

tobydeh commented 6 years ago

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.