Skip to content

Commit

Permalink
add max 2000 charters on comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Mar 15, 2022
1 parent 9ea93e8 commit 7065bf5
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -53,9 +53,9 @@ public function postComment(Request $request)

}

$rules['rel_id'] = 'required';
$rules['rel_type'] = 'required';
$rules['comment_body'] = 'required';
$rules['rel_id'] = 'required|max:500';
$rules['rel_type'] = 'required|max:500';
$rules['comment_body'] = 'required|max:2000';

if (!empty($inputs['email'])) {
$inputs['comment_email'] = $inputs['email'];
Expand Down

0 comments on commit 7065bf5

Please sign in to comment.