mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 06:20:56 +01:00
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
This commit is contained in:
parent
57eb3aecb6
commit
a1477baa39
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
final class LegalpadDocumentDoneController extends LegalpadController {
|
final class LegalpadDocumentDoneController extends LegalpadController {
|
||||||
|
|
||||||
public function shouldAllowPublic() {
|
public function shouldAllowPublic() {
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function processRequest() {
|
public function processRequest() {
|
||||||
|
|
|
@ -5,7 +5,7 @@ final class LegalpadDocumentSignController extends LegalpadController {
|
||||||
private $id;
|
private $id;
|
||||||
|
|
||||||
public function shouldAllowPublic() {
|
public function shouldAllowPublic() {
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function willProcessRequest(array $data) {
|
public function willProcessRequest(array $data) {
|
||||||
|
|
Loading…
Reference in a new issue