added more comments
removed silly debug.
This commit is contained in:
@@ -15,6 +15,7 @@ use Illuminate\Support\Facades\Auth;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
use Spatie\Permission\Traits\HasRoles;
|
||||
|
||||
//Class of which should extend Model Library
|
||||
class User extends Authenticatable
|
||||
{
|
||||
use Notifiable;
|
||||
@@ -25,6 +26,7 @@ class User extends Authenticatable
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
//protected variable which contains name of database field(s) to be filled.
|
||||
protected $fillable = [
|
||||
'name_first', "name_last", 'email', 'password', "phone"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user