mirror of
https://github.com/pelican-dev/panel.git
synced 2025-11-09 14:39:32 +01:00
cast is_managed_externally to boolean
This commit is contained in:
parent
a9165c66f7
commit
1644dbc279
@ -178,6 +178,7 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac
|
|||||||
protected function casts(): array
|
protected function casts(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
'is_managed_externally' => 'boolean',
|
||||||
'mfa_app_secret' => 'encrypted',
|
'mfa_app_secret' => 'encrypted',
|
||||||
'mfa_app_recovery_codes' => 'encrypted:array',
|
'mfa_app_recovery_codes' => 'encrypted:array',
|
||||||
'oauth' => 'array',
|
'oauth' => 'array',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user