We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cde1eee commit c2f0a10Copy full SHA for c2f0a10
src/http/GitDeployController.php
@@ -218,6 +218,12 @@ public function gitHook(Request $request)
218
$postdata['commits'][$commit_key]['human_date'] = $date_str;
219
}
220
221
+ // Standardise formats for Gitlab / Github payload differences
222
+ if (isset($postdata['pusher']) && !empty($postdata['pusher'])) {
223
+ $postdata['user_name'] = $postdata['pusher']['name'];
224
+ $postdata['user_email'] = $postdata['pusher']['email'];
225
+ }
226
+
227
// Use package's own sender or the project default?
228
$addressdata['sender_name'] = config('mail.from.name');
229
$addressdata['sender_address'] = config('mail.from.address');
0 commit comments