Jeff Kilroy

Results 3 comments of Jeff Kilroy

Another possible solution would be to just remove "use Authorizable" from the User Model, since we are using Entrust in place of Laravel's default. Setting this up on a current...

Here's a dirty solution that worked for me, it seems like the submission/validation end works as normal, just had to customize my frontend instead of using the render method: ```...

I just defined the reason (along with other ban fields) as accessors: ``` public function getBannedAttribute() { return $this->isBanned(); } public function getBannedUntilAttribute() { $ban = $this->bans()->first(); if($ban){ return $ban->expired_at;...