add password login
This commit is contained in:
parent
93f5f022e4
commit
ebfe147ca4
12 changed files with 192 additions and 6 deletions
|
|
@ -9,6 +9,7 @@ use Illuminate\Database\Eloquent\Model;
|
|||
/**
|
||||
* @property int $id
|
||||
* @property string $email
|
||||
* @property string $password
|
||||
*
|
||||
* @method static Builder<static>|UserModel newModelQuery()
|
||||
* @method static Builder<static>|UserModel newQuery()
|
||||
|
|
@ -16,7 +17,7 @@ use Illuminate\Database\Eloquent\Model;
|
|||
*
|
||||
* @mixin \Eloquent
|
||||
*/
|
||||
#[Fillable(['email'])]
|
||||
#[Fillable(['email', 'password'])]
|
||||
class UserModel extends Model
|
||||
{
|
||||
protected $table = 'users';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue