Commit d095ae7b authored by Stan Hu's avatar Stan Hu

Merge branch 'dharris-slack-validation' into 'master'

Increase validation length for project paths

See merge request gitlab-org/gitlab!70092
parents 00bdaab1 a0a8e3e0
......@@ -7,7 +7,7 @@ class SlackIntegration < ApplicationRecord
validates :team_name, presence: true
validates :alias, presence: true,
uniqueness: { scope: :team_id, message: 'This alias has already been taken' },
length: 2..80
length: 2..4096
validates :user_id, presence: true
validates :integration, presence: true
......
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