Ajoute les 2 controllers et l'authentification

This commit is contained in:
2018-04-26 23:02:06 +02:00
parent 8c48c8daa3
commit 7ebb888bb2
6 changed files with 93 additions and 14 deletions

View File

@@ -1,8 +1,18 @@
<?php namespace App;
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class User extends Model {
class User extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'users';
protected $fillable = ["email"];