File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -172,11 +172,6 @@ public function authenticateAction()
172
172
$ payload ['external_id ' ] = $ user ->getId ();
173
173
}
174
174
175
- // Redact token then log the rest of the payload
176
- $ jti_redacted_payload = $ payload ; // arrays are copied by value in php, not just a ref being passed around
177
- $ jti_redacted_payload ["jti " ] = "REDACTED " ;
178
- Mage::log ('Admin JWT: ' . var_export ($ jti_redacted_payload , true ), null , 'zendesk.log ' );
179
-
180
175
$ jwt = JWT ::encode ($ payload , $ token );
181
176
$ return = $ return_url ? "&return_to= " .$ return_url : "" ;
182
177
Original file line number Diff line number Diff line change @@ -75,11 +75,6 @@ public function loginAction()
75
75
$ payload ['external_id ' ] = $ user ->getId ();
76
76
}
77
77
78
- // Redact token then log the rest of the payload
79
- $ jti_redacted_payload = $ payload ; // arrays are copied by value in php, not just a ref being passed around
80
- $ jti_redacted_payload ["jti " ] = "REDACTED " ;
81
- Mage::log ('End-user JWT: ' . var_export ($ jti_redacted_payload , true ), null , 'zendesk.log ' );
82
-
83
78
$ jwt = JWT ::encode ($ payload , $ token );
84
79
$ return_url = $ return_url ? "&return_to= " .$ return_url : "" ;
85
80
You can’t perform that action at this time.
0 commit comments