diff options
Diffstat (limited to 'config/initializers/client_side_validations.rb')
-rw-r--r-- | config/initializers/client_side_validations.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/initializers/client_side_validations.rb b/config/initializers/client_side_validations.rb index f7a658a..9f3b17d 100644 --- a/config/initializers/client_side_validations.rb +++ b/config/initializers/client_side_validations.rb @@ -1,7 +1,8 @@ # ClientSideValidations Initializer # Disabled validators. The uniqueness validator is disabled by default for security issues. Enable it on your own responsibility! -# ClientSideValidations::Config.disabled_validators = [:uniqueness] + +ClientSideValidations::Config.disabled_validators = [:uniqueness, :confirmation] # Uncomment to validate number format with current I18n locale # ClientSideValidations::Config.number_format_with_locale = true |