Skip to content

Commit

Permalink
adding RatSWD 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 02614dc commit c2da9e4
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 ["CoreTrustSeal", "DIN 31644", "DINI", "DSA", "WDS").include?(c)
errors.add(:certificate, "Certificate #{c} is not included in the list of supported certificates.") unless ["CoreTrustSeal", "DIN 31644", "DINI", "DSA", "RatSWD", "WDS").include?(c)
end
end

Expand Down

0 comments on commit c2da9e4

Please sign in to comment.