File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 5
5
use Illuminate \Auth \Authenticatable ;
6
6
use Illuminate \Database \Eloquent \Model ;
7
7
use Illuminate \Auth \Passwords \CanResetPassword ;
8
- use Illuminate \Foundation \Auth \Access \HasAbilities ;
8
+ use Illuminate \Foundation \Auth \Access \Authorizable ;
9
9
use Illuminate \Contracts \Auth \Authenticatable as AuthenticatableContract ;
10
+ use Illuminate \Contracts \Auth \Access \Authorizable as AuthorizableContract ;
10
11
use Illuminate \Contracts \Auth \CanResetPassword as CanResetPasswordContract ;
11
12
12
- class User extends Model implements AuthenticatableContract, CanResetPasswordContract
13
+ class User extends Model implements AuthenticatableContract,
14
+ AuthorizableContract,
15
+ CanResetPasswordContract
13
16
{
14
- use Authenticatable, CanResetPassword, HasAbilities ;
17
+ use Authenticatable, Authorizable, CanResetPassword ;
15
18
16
19
/**
17
20
* The database table used by the model.
You can’t perform that action at this time.
0 commit comments