Skip to content

Commit

Permalink
use correct mode parent class (#676)
Browse files Browse the repository at this point in the history
fixes #675
  • Loading branch information
Mtillmann authored Jun 21, 2024
1 parent aa43d35 commit fcaf38f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/8.x/the-basics/models/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

```php
<?php

use Illuminate\Foundation\Auth\User as Authenticatable;
use Laratrust\Contracts\LaratrustUser;
use Laratrust\Traits\HasRolesAndPermissions;

class User extends Model implements LaratrustUser
class User extends Authenticatable implements LaratrustUser
{
use HasRolesAndPermissions; // add this trait to your user model

Expand Down

0 comments on commit fcaf38f

Please sign in to comment.