From c2da9e47525727b93daa5d26372d5df99975aeac Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Fri, 2 Aug 2019 18:59:40 +0200 Subject: [PATCH] adding RatSWD certificate. datacite/datacite#797 --- app/models/client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/client.rb b/app/models/client.rb index 312836370..9a9007300 100644 --- a/app/models/client.rb +++ b/app/models/client.rb @@ -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