|
|
@ -348,7 +348,7 @@ class ProjectsController < ApplicationController
|
|
|
|
if params[:repository] == "pswd_is_null"
|
|
|
|
if params[:repository] == "pswd_is_null"
|
|
|
|
html << l(:label_password_not_null)
|
|
|
|
html << l(:label_password_not_null)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
flash[:error] = html if !html.to_s.blank?
|
|
|
|
flash.now[:error] = html if !html.to_s.blank?
|
|
|
|
end
|
|
|
|
end
|
|
|
|
scm = params[:repository_scm] || (Redmine::Scm::Base.all & Setting.enabled_scm).first
|
|
|
|
scm = params[:repository_scm] || (Redmine::Scm::Base.all & Setting.enabled_scm).first
|
|
|
|
@repository = Repository.factory(scm)
|
|
|
|
@repository = Repository.factory(scm)
|
|
|
|