Update UpdateProfileRequest

This commit is contained in:
Daniel Supernault 2025-07-02 02:13:12 -06:00
parent 649a0319d1
commit 79864ef4fd
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

View File

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