diff --git a/pages/reviewer/ReviewerHandler.php b/pages/reviewer/ReviewerHandler.php
index edfeeb738dc..e72dcb2d97e 100644
--- a/pages/reviewer/ReviewerHandler.php
+++ b/pages/reviewer/ReviewerHandler.php
@@ -18,6 +18,7 @@
use APP\core\Request;
use APP\facades\Repo;
+use PKP\invitation\core\enums\InvitationAction;
use PKP\pages\reviewer\PKPReviewerHandler;
use PKP\security\authorization\SubmissionAccessPolicy;
use PKP\security\Role;
@@ -55,7 +56,9 @@ public function authorize($request, &$args, $roleAssignments)
$invitation = Repo::invitation()->getByKey($accessKeyCode);
if (isset($invitation)) {
- $invitation->acceptHandle($request);
+ $invitationHandler = $invitation->getInvitationActionRedirectController();
+ $invitationHandler->preRedirectActions(InvitationAction::ACCEPT);
+ $invitationHandler->acceptHandle($request);
}
}
}
diff --git a/registry/emailTemplates.xml b/registry/emailTemplates.xml
index b27bd8d53db..5d29110f3fb 100644
--- a/registry/emailTemplates.xml
+++ b/registry/emailTemplates.xml
@@ -71,4 +71,5 @@
+