Commit 540d0aa4 authored by Valery Sizov's avatar Valery Sizov

fixd key length

parent 4451b8df
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment