Add two-factor authentication fields to hidden array in User model
This commit is contained in:
parent
129a644781
commit
8b74e50c50
1 changed files with 2 additions and 0 deletions
|
|
@ -26,6 +26,8 @@ class User extends Authenticatable implements SendsEmail
|
||||||
protected $hidden = [
|
protected $hidden = [
|
||||||
'password',
|
'password',
|
||||||
'remember_token',
|
'remember_token',
|
||||||
|
'two_factor_recovery_codes',
|
||||||
|
'two_factor_secret',
|
||||||
];
|
];
|
||||||
protected $casts = [
|
protected $casts = [
|
||||||
'email_verified_at' => 'datetime',
|
'email_verified_at' => 'datetime',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue