```ruby
class User < ActiveRecord::Base
  
  validates :email,
    presence: true,
    email_format: true,
    uniqueness: { case_sensitive: false }
    
  validates :password,
    length: {minimum: 10},
    password_format: true
    
  has_secure_password
  
end
```

Remove 'length' validation from User.password.
user
```ruby
class User < ActiveRecord::Base
  
  validates :email,
    presence: true,
    email_format: true,
    uniqueness: { case_sensitive: false }
    
  validates :password,
    password_format: true
    
  has_secure_password
  
end
```
assistant