diff --git a/services/forms/repo_form.go b/services/forms/repo_form.go index da130353df..c74c1582d3 100644 --- a/services/forms/repo_form.go +++ b/services/forms/repo_form.go @@ -113,8 +113,8 @@ type RepoSettingForm struct { RepoName string `binding:"Required;AlphaDashDot;MaxSize(100)"` Description string `binding:"MaxSize(2048)"` Website string `binding:"ValidUrl;MaxSize(1024)"` - // ToDo: Do we need validation at this point? - FederationRepos string `binding:"ValidUrl;MaxSize(1024)"` + + FederationRepos string Interval string MirrorAddress string MirrorUsername string