commit
608d085c5d
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ class UserTransformer extends EntityTransformer
|
|||
'last_confirmed_email_address' => (string) $user->last_confirmed_email_address ?: '',
|
||||
'google_2fa_secret' => (bool) $user->google_2fa_secret,
|
||||
'has_password' => (bool) $user->has_password,
|
||||
'oauth_user_token' => strlen($user->oauth_user_token) >=1 ? '***' : '',
|
||||
'oauth_user_token' => empty($user->oauth_user_token) ? '' : '***',
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue