Commit 1db3228c authored by Valeriy Sizov's avatar Valeriy Sizov

Merge pull request #778 from netdata/Allow_short_project_names

Allow short project names
parents 2176e2c9 c808295e
......@@ -20,7 +20,7 @@ module Project::ValidationsTrait
:uniqueness => true,
:format => { :with => /^[a-zA-Z0-9_\-\.]*$/,
:message => "only letters, digits & '_' '-' '.' allowed" },
:length => { :within => 3..255 }
:length => { :within => 1..255 }
validates :owner, :presence => true
validate :check_limit
......
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