|
@@ -5,12 +5,13 @@ namespace App;
|
|
use Illuminate\Auth\Authenticatable;
|
|
use Illuminate\Auth\Authenticatable;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Auth\Passwords\CanResetPassword;
|
|
use Illuminate\Auth\Passwords\CanResetPassword;
|
|
|
|
+use Illuminate\Foundation\Auth\Access\HasAbilities;
|
|
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
|
|
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
|
|
use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract;
|
|
use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract;
|
|
|
|
|
|
class User extends Model implements AuthenticatableContract, CanResetPasswordContract
|
|
class User extends Model implements AuthenticatableContract, CanResetPasswordContract
|
|
{
|
|
{
|
|
- use Authenticatable, CanResetPassword;
|
|
|
|
|
|
+ use Authenticatable, CanResetPassword, HasAbilities;
|
|
|
|
|
|
/**
|
|
/**
|
|
* The database table used by the model.
|
|
* The database table used by the model.
|