diff options
author | Valery Sizov <vsv2711@gmail.com> | 2011-11-22 21:56:22 +0200 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2011-11-22 21:56:22 +0200 |
commit | 540d0aa4068e8ff37dab384deead094bd037a13c (patch) | |
tree | be5ace3a9947f733118be3a0eb2a0cfe047177b7 | |
parent | 4451b8df8ad6d4b6d79fbce77687c6c2fd37d0a9 (diff) | |
download | gitlab-ce-540d0aa4068e8ff37dab384deead094bd037a13c.tar.gz |
fixd 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 5fe30734476..8231c30ce1f 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..1600 } + :length => { :within => 0..5000 } before_save :set_identifier after_save :update_gitosis |