File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
src/Controllers/Examples/eSignature Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,16 @@ public function createController(): void
3535 $ this ->checkDsToken ();
3636
3737 try {
38- if ($ this ->args ['envelope_args ' ]['signer_email ' ] == $ GLOBALS ['DS_CONFIG ' ]['signer_email ' ]) {
38+ if ($ this ->args ['envelope_args ' ]['signer_email ' ] == $ GLOBALS ['DS_CONFIG ' ]['signer_email ' ]) {
3939 $ GLOBALS ['twig ' ]->display (
40- 'error.html ' ,
40+ 'error.html ' ,
4141 [
4242 'error_code ' => "400 " ,
4343 'error_message ' => ManifestService::getCommonTexts ()['RecipientShouldDifferFromSender ' ],
4444 'common_texts ' => ManifestService::getCommonTexts ()
4545 ]
4646 );
47+
4748 exit ;
4849 }
4950
Original file line number Diff line number Diff line change @@ -37,15 +37,16 @@ public function createController(): void
3737 # Obtain your OAuth Token
3838 $ this ->checkDsToken ();
3939
40- if ($ this ->args ['envelope_args ' ]['signer_email ' ] == $ GLOBALS ['DS_CONFIG ' ]['signer_email ' ]) {
40+ if ($ this ->args ['envelope_args ' ]['signer_email ' ] == $ GLOBALS ['DS_CONFIG ' ]['signer_email ' ]) {
4141 $ GLOBALS ['twig ' ]->display (
42- 'error.html ' ,
42+ 'error.html ' ,
4343 [
4444 'error_code ' => "400 " ,
4545 'error_message ' => ManifestService::getCommonTexts ()['RecipientShouldDifferFromSender ' ],
4646 'common_texts ' => ManifestService::getCommonTexts ()
4747 ]
4848 );
49+
4950 exit ;
5051 }
5152
Original file line number Diff line number Diff line change @@ -39,15 +39,16 @@ public function createController(): void
3939 $ this ->checkDsToken ();
4040
4141 try {
42- if ($ this ->args ['envelope_args ' ]['signer_email ' ] == $ GLOBALS ['DS_CONFIG ' ]['signer_email ' ]) {
42+ if ($ this ->args ['envelope_args ' ]['signer_email ' ] == $ GLOBALS ['DS_CONFIG ' ]['signer_email ' ]) {
4343 $ GLOBALS ['twig ' ]->display (
44- 'error.html ' ,
44+ 'error.html ' ,
4545 [
4646 'error_code ' => "400 " ,
4747 'error_message ' => ManifestService::getCommonTexts ()['RecipientShouldDifferFromSender ' ],
4848 'common_texts ' => ManifestService::getCommonTexts ()
4949 ]
5050 );
51+
5152 exit ;
5253 }
5354
You can’t perform that action at this time.
0 commit comments