From a1477baa3929cdb5ae54453ec79c8ade19a31c43 Mon Sep 17 00:00:00 2001 From: epriestley Date: Fri, 8 Aug 2014 09:53:49 -0700 Subject: [PATCH] Fix Legalpad for logged-out users Summary: Fixes T5739. I only got D9857 half right: the new method names are correct, but the bodies needed to change too. Test Plan: Signed a document as an anonymous user. Reviewers: btrahan, chad Reviewed By: chad Subscribers: epriestley Maniphest Tasks: T5739 Differential Revision: https://secure.phabricator.com/D10191 --- .../legalpad/controller/LegalpadDocumentDoneController.php | 2 +- .../legalpad/controller/LegalpadDocumentSignController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/applications/legalpad/controller/LegalpadDocumentDoneController.php b/src/applications/legalpad/controller/LegalpadDocumentDoneController.php index 8b628e625c..e6601ba072 100644 --- a/src/applications/legalpad/controller/LegalpadDocumentDoneController.php +++ b/src/applications/legalpad/controller/LegalpadDocumentDoneController.php @@ -3,7 +3,7 @@ final class LegalpadDocumentDoneController extends LegalpadController { public function shouldAllowPublic() { - return false; + return true; } public function processRequest() { diff --git a/src/applications/legalpad/controller/LegalpadDocumentSignController.php b/src/applications/legalpad/controller/LegalpadDocumentSignController.php index 34d88cf60d..cfd5e19d93 100644 --- a/src/applications/legalpad/controller/LegalpadDocumentSignController.php +++ b/src/applications/legalpad/controller/LegalpadDocumentSignController.php @@ -5,7 +5,7 @@ final class LegalpadDocumentSignController extends LegalpadController { private $id; public function shouldAllowPublic() { - return false; + return true; } public function willProcessRequest(array $data) {