diff options
author | Marvin Borner | 2018-07-07 00:20:06 +0200 |
---|---|---|
committer | Marvin Borner | 2018-07-07 00:20:06 +0200 |
commit | 60c973ed2a8e58cc7e9d7e6ca69e17f6ec023c32 (patch) | |
tree | bf6ffd3d655e3be3a5d7b18696cacfb107427861 /app/User.php | |
parent | efe4b98e6f3d5d63bc2da8110f474d6b7ec122df (diff) |
Began public key "API"
Diffstat (limited to 'app/User.php')
-rw-r--r-- | app/User.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/User.php b/app/User.php index 870d27c..4d6d0ee 100644 --- a/app/User.php +++ b/app/User.php @@ -1,7 +1,9 @@ <?php namespace App; -use Illuminate\Notifications\Notifiable; + use Illuminate\Foundation\Auth\User as Authenticatable; +use Illuminate\Notifications\Notifiable; + class User extends Authenticatable { use Notifiable; @@ -13,6 +15,7 @@ class User extends Authenticatable protected $fillable = [ 'name', 'email', 'password', ]; + /** * The attributes that should be hidden for arrays. * @@ -21,4 +24,4 @@ class User extends Authenticatable protected $hidden = [ 'password', 'remember_token', ]; -}
\ No newline at end of file +} |