added auth support

This commit is contained in:
Edward Tirado Jr 2026-02-19 23:14:00 -06:00
parent 67ebbbe329
commit 8970e82780
9 changed files with 289 additions and 14 deletions

View file

@ -19,7 +19,7 @@ class User extends Authenticatable
* @var list<string>
*/
protected $fillable = [
'name',
'username',
'email',
'password',
];
@ -47,7 +47,8 @@ class User extends Authenticatable
];
}
public function profile(): HasOne {
return $this->hasOne(Profile::class);
public function profile(): HasOne
{
return $this->hasOne(Profile::class);
}
}