提交 c374eb80 编写于 作者: V Vyacheslav Slinko

Increase max key length. Some keys has comment after key string.

上级 757ea634
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册