mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 05:36:07 +10:00
Increase max key length. Some keys has comment after key string.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user