Update AvatarRequest

This commit is contained in:
Daniel Supernault 2025-07-02 04:33:14 -06:00
parent 79864ef4fd
commit 3770b0832d
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

View File

@ -9,7 +9,7 @@ class UpdateAvatarRequest extends FormRequest
public function authorize(): bool
{
return (bool) $this->user() &&
$this->user()->status === 1 &&
$this->user()->profile->status === 1 &&
$this->user()->profile_id;
}