Commit 5d526717d626c072b6eb522e132cc30d9d96d60b
1 parent
3ba392b3
Exists in
master
and in
4 other branches
increase max size of public to 1600 bytes
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/key.rb
| @@ -8,7 +8,7 @@ class Key < ActiveRecord::Base | @@ -8,7 +8,7 @@ class Key < ActiveRecord::Base | ||
| 8 | validates :key, | 8 | validates :key, |
| 9 | :presence => true, | 9 | :presence => true, |
| 10 | :uniqueness => true, | 10 | :uniqueness => true, |
| 11 | - :length => { :within => 0..1024 } | 11 | + :length => { :within => 0..1600 } |
| 12 | 12 | ||
| 13 | before_save :set_identifier | 13 | before_save :set_identifier |
| 14 | after_save :update_gitosis | 14 | after_save :update_gitosis |