We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1798aad commit 8f92915Copy full SHA for 8f92915
app/models/user.rb
@@ -33,7 +33,7 @@ def ordergroup
33
validates_presence_of :first_name # for simple_form validations
34
validates_length_of :first_name, :in => 2..50
35
validates_confirmation_of :password
36
- validates_length_of :password, :in => 12..50, :allow_blank => true
+ validates_length_of :password, :in => 5..50, :allow_blank => true
37
# allow nick to be nil depending on foodcoop config
38
# TODO Rails 4 may have a more beautiful way
39
# http://stackoverflow.com/questions/19845910/conditional-allow-nil-part-of-validation
0 commit comments