Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prevent putcode from beeing cloned #50

Merged
merged 1 commit into from
Jul 15, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cfg/cfg.d/z_orcid_support_advance.pl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
$c->{orcid_support_advance}->{client_secret} = "YYYY";

$c->{orcid_support_advance}->{orcid_apiv2} = "https://api.sandbox.orcid.org/v2.0/";
$c->{orcid_support_advance}->{orcid_org_auth_uri} = "https://sandbox.orcid.org/oauth/authorize";
$c->{orcid_support_advance}->{orcid_org_auth_uri} = "https://sandbox.orcipd.org/oauth/authorize";
$c->{orcid_support_advance}->{orcid_org_exch_uri} = "https://api.sandbox.orcid.org/oauth/token";
$c->{orcid_support_advance}->{redirect_uri} = $c->{"perl_url"} . "/orcid/authenticate";

Expand Down Expand Up @@ -167,6 +167,7 @@
allow_null => 1,
show_in_html => 0, #we don't need this field to appear in the workflow
export_as_xml => 0, #nor do we want it appearing in exports
can_clone => 0, #don't copy when using item as a template
}
));
# Possible to do: If that was successful, find and save putcodes of all items that have been exported in previous versions of this plugin.
Expand Down