mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 06:37:33 -05:00 
			
		
		
		
	Small type check fix
This commit is contained in:
		
							parent
							
								
									a2148a9b10
								
							
						
					
					
						commit
						cfdcf889ad
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user