diff options
author | Zevs <vsv2711@gmail.com> | 2011-10-19 00:22:04 +0400 |
---|---|---|
committer | Zevs <vsv2711@gmail.com> | 2011-10-19 00:22:04 +0400 |
commit | f9a8510e786cd2e000d5fe116027b0ccd8a6b0ef (patch) | |
tree | b7df1eec06168ca4142753c768bfe8649764ab9d | |
parent | 2e5ed4ad5173ef52c9b8e341cede153c8dee013d (diff) |
#40 max key length
-rw-r--r-- | app/models/key.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/key.rb b/app/models/key.rb index 9fa8958772d..29dcbbce0ac 100644 --- a/app/models/key.rb +++ b/app/models/key.rb @@ -8,7 +8,7 @@ class Key < ActiveRecord::Base validates :key, :presence => true, :uniqueness => true, - :length => { :within => 0..555 } + :length => { :within => 0..1024 } before_save :set_identifier after_save :update_gitosis |