diff --git a/lib/pkp b/lib/pkp
index e453134f443..0f866e88033 160000
--- a/lib/pkp
+++ b/lib/pkp
@@ -1 +1 @@
-Subproject commit e453134f4433953366dfd787220936b7c97ea905
+Subproject commit 0f866e88033621e8da0825bfe78b620308daf842
diff --git a/pages/reviewer/ReviewerHandler.php b/pages/reviewer/ReviewerHandler.php
index aa5b9899537..270c3ba21b8 100644
--- a/pages/reviewer/ReviewerHandler.php
+++ b/pages/reviewer/ReviewerHandler.php
@@ -20,6 +20,7 @@
use APP\submission\reviewer\form\ReviewerReviewStep3Form;
use APP\submission\Submission;
use PKP\core\PKPRequest;
+use PKP\invitation\core\enums\InvitationAction;
use PKP\pages\reviewer\PKPReviewerHandler;
use PKP\security\authorization\SubmissionAccessPolicy;
use PKP\security\Role;
@@ -64,7 +65,9 @@ public function authorize($request, &$args, $roleAssignments)
->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 736686fbad0..b6acec8633a 100644
--- a/registry/emailTemplates.xml
+++ b/registry/emailTemplates.xml
@@ -77,6 +77,7 @@
-
-
+
+
+