mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 05:12:41 +01:00
Fix an issue in legalpad when signing with a registered email address
Summary: If you're logged out and try to sign a document with a registered email address, we don't handle telling you to login correctly. Test Plan: Tried to sign with a registered address, got a helpful dialog instead of a fatal. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D12544
This commit is contained in:
parent
46d1a1d7c1
commit
3b2fa99c57
1 changed files with 5 additions and 1 deletions
|
@ -22,9 +22,13 @@ final class LegalpadDocumentSignController extends LegalpadController {
|
|||
return new Aphront404Response();
|
||||
}
|
||||
|
||||
list($signer_phid, $signature_data) = $this->readSignerInformation(
|
||||
$information = $this->readSignerInformation(
|
||||
$document,
|
||||
$request);
|
||||
if ($information instanceof AphrontResponse) {
|
||||
return $information;
|
||||
}
|
||||
list($signer_phid, $signature_data) = $information;
|
||||
|
||||
$signature = null;
|
||||
|
||||
|
|
Loading…
Reference in a new issue