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 f4e0243 commit a88bd60Copy full SHA for a88bd60
1 file changed
app/Domains/Social/Http/Controllers/Api/Cards/PublishController.php
@@ -78,7 +78,7 @@ public function article(PublishArticleRequest $request)
78
'theme' => $data['config']['theme'],
79
'font' => $data['config']['font'],
80
'ads' => $picture['ads'],
81
- 'check_code' => $data['check_code'],
+ 'check_code' => Str::random(16),
82
];
83
$data['ip_address'] = $request->ip();
84
$data['user_agent'] = $request->header('User-Agent');
@@ -124,7 +124,7 @@ public function picture(PublishPictureRequest $request)
124
125
$data['config'] = [
126
'type' => 'picture',
127
128
129
130
0 commit comments