Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #40 from vslinko/patch-1

Increase max key length. Some keys has comment after key string.
  • Loading branch information...
commit 3a2b273316fb29d63b489906f85d9b5329377258 2 parents 757ea63 + c374eb8
Dmitriy Zaporozhets randx authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/models/key.rb
2  app/models/key.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.