mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-02 22:57:33 -05:00 
			
		
		
		
	Fix for spam checker
This commit is contained in:
		
							parent
							
								
									e058c93b36
								
							
						
					
					
						commit
						cd5b084187
					
				@ -130,7 +130,7 @@ class AccountRepository
 | 
			
		||||
    {
 | 
			
		||||
        $ip = Request::getClientIp();
 | 
			
		||||
        $count = Account::whereIp($ip)->whereHas('users', function ($query) {
 | 
			
		||||
            $query->whereConfirmed(true);
 | 
			
		||||
            $query->whereRegistered(true);
 | 
			
		||||
        })->count();
 | 
			
		||||
 | 
			
		||||
        if ($count > 1 && $errorEmail = env('ERROR_EMAIL')) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user