registrar usuario de tipo comprador, comente algunas cosas del codigo

This commit is contained in:
Jose Sanchez
2023-08-15 10:37:30 -04:00
parent 223db091b0
commit 31b2e896ad
38 changed files with 3718 additions and 649 deletions

View File

@@ -14,10 +14,7 @@ class User extends Authenticatable implements MustVerifyEmail
{
use Notifiable, HasApiTokens, HasRoles;
public function sendEmailVerificationNotification()
{
$this->notify(new EmailVerificationNotification());
}
/**
* The attributes that are mass assignable.
@@ -25,7 +22,7 @@ class User extends Authenticatable implements MustVerifyEmail
* @var array
*/
protected $fillable = [
'name', 'email', 'password', 'address', 'city', 'postal_code', 'phone', 'country', 'provider_id', 'email_verified_at', 'verification_code'
'name', 'email', 'password', 'user_type', 'confirmation_code', 'address', 'city', 'postal_code', 'phone', 'country', 'provider_id', 'email_verified_at', 'verification_code'
];
/**