pull/480/head
Pete Matsyburka 6 months ago
parent 19e8835809
commit 5663e60f92

@ -14,7 +14,8 @@ class StartFormController < ApplicationController
raise ActionController::RoutingError, I18n.t('not_found') if @template.preferences['require_phone_2fa'] == true
@submitter = @template.submissions.new(account_id: @template.account_id)
.submitters.new(uuid: (filter_undefined_submitters(@template).first ||
.submitters.new(account_id: @template.account_id,
uuid: (filter_undefined_submitters(@template).first ||
@template.submitters.first)['uuid'])
end

Loading…
Cancel
Save