Commit 287c3c16 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'dev' of dev.gitlabhq.com:gitlabhq into dev

parents a9639776 5d526717
...@@ -8,7 +8,7 @@ class Key < ActiveRecord::Base ...@@ -8,7 +8,7 @@ class Key < ActiveRecord::Base
validates :key, validates :key,
:presence => true, :presence => true,
:uniqueness => true, :uniqueness => true,
:length => { :within => 0..1024 } :length => { :within => 0..1600 }
before_save :set_identifier before_save :set_identifier
after_save :update_gitosis 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