app/Models/User.php
use Illuminate\Contracts\Auth\MustVerifyEmail;use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable implements MustVerifyEmail{ // public function getNameAttribute() { if($this->first_name) { return "{$this->first_name} {$this->last_name}"; } return __('bap.user') . ":" . $this->id; } //}