Skip to content

Commit

Permalink
fix(资讯): 修复资讯投稿认证进行错误认证 #540
Browse files Browse the repository at this point in the history
  • Loading branch information
medz committed Dec 25, 2018
1 parent 89d97b6 commit cfb23fa
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ class StoreContribute extends FormRequest
*/
public function authorize(): bool
{
if (config('news.contribute.verified')) {
return $this->user()->verified === null ? false : true;
}

return true;
}

Expand Down

0 comments on commit cfb23fa

Please sign in to comment.