From 02614dccd4b35729af79f7ad37660dff67a6d500 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Fri, 2 Aug 2019 18:53:51 +0200 Subject: [PATCH] adding din 31644 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 797cd115f..312836370 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 %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