Skip to content

Commit

Permalink
adding din 31644 certificate. datacite/datacite#797
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Aug 2, 2019
1 parent 8a9409b commit 02614dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def check_language

def check_certificate
Array.wrap(certificate).each do |c|
errors.add(:certificate, "Certificate #{c} is not included in the list of supported certificates.") unless %w(CoreTrustSeal DSA WDS DINI).include?(c)
errors.add(:certificate, "Certificate #{c} is not included in the list of supported certificates.") unless ["CoreTrustSeal", "DIN 31644", "DINI", "DSA", "WDS").include?(c)
end
end

Expand Down

0 comments on commit 02614dc

Please sign in to comment.