Actualizacuion de Rama Kquiroz
This commit is contained in:
@@ -14,7 +14,10 @@ class User extends Authenticatable implements MustVerifyEmail
|
||||
{
|
||||
use Notifiable, HasApiTokens, HasRoles;
|
||||
|
||||
|
||||
public function sendEmailVerificationNotification()
|
||||
{
|
||||
$this->notify(new EmailVerificationNotification());
|
||||
}
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
@@ -22,7 +25,7 @@ class User extends Authenticatable implements MustVerifyEmail
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'name', 'email', 'password', 'user_type', 'confirmation_code', 'address', 'city', 'postal_code', 'phone', 'country', 'provider_id', 'email_verified_at', 'verification_code'
|
||||
'name', 'email', 'password', 'address', 'city', 'postal_code', 'phone', 'country', 'provider_id', 'email_verified_at', 'verification_code'
|
||||
];
|
||||
|
||||
/**
|
||||
@@ -148,10 +151,5 @@ class User extends Authenticatable implements MustVerifyEmail
|
||||
public function uploads(){
|
||||
return $this->hasMany(Upload::class);
|
||||
}
|
||||
|
||||
public function workshop()
|
||||
{
|
||||
return $this->hasOne(Workshop::class);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user