From c80e6dd43afe637e68d462729b200113f3972083 Mon Sep 17 00:00:00 2001
From: George Katsikas <giorgakis.katsikas@gmail.com>
Date: Wed, 6 Mar 2024 16:04:04 +0100
Subject: [PATCH] add unauthenticated orcid metadata deposits

---
 .../journals/templates/xml/publication_crossref.html          | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scipost_django/journals/templates/xml/publication_crossref.html b/scipost_django/journals/templates/xml/publication_crossref.html
index 6cfb45d79..0d7b92c4b 100644
--- a/scipost_django/journals/templates/xml/publication_crossref.html
+++ b/scipost_django/journals/templates/xml/publication_crossref.html
@@ -87,8 +87,8 @@
                           {% endfor %}
                         {% endif %}
                         </affiliations>
-                        {% if author_object.contributor and author_object.contributor.profile.orcid_id %}
-                            <ORCID>https://orcid.org/{{ author_object.contributor.profile.orcid_id }}</ORCID>
+                        {% if author_object.profile.orcid_id %}
+                            <ORCID authenticated="false">https://orcid.org/{{ author_object.profile.orcid_id }}</ORCID>
                         {% endif %}
                         </person_name>
                     {% endfor %}
-- 
GitLab