mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-19 04:51:27 +00:00
commit
1a30e488f9
1 changed files with 17 additions and 10 deletions
11
app/User.php
11
app/User.php
|
@ -21,7 +21,8 @@ class User extends Authenticatable
|
|||
protected $casts = [
|
||||
'deleted_at' => 'datetime',
|
||||
'email_verified_at' => 'datetime',
|
||||
'2fa_setup_at' => 'datetime'
|
||||
'2fa_setup_at' => 'datetime',
|
||||
'last_active_at' => 'datetime',
|
||||
];
|
||||
|
||||
/**
|
||||
|
@ -30,7 +31,13 @@ class User extends Authenticatable
|
|||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'name', 'username', 'email', 'password', 'app_register_ip'
|
||||
'name',
|
||||
'username',
|
||||
'email',
|
||||
'password',
|
||||
'app_register_ip',
|
||||
'email_verified_at',
|
||||
'last_active_at'
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue