mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 23:47:32 -05:00 
			
		
		
		
	Working on tests
This commit is contained in:
		
							parent
							
								
									6d851ca815
								
							
						
					
					
						commit
						abdc626435
					
				@ -23,11 +23,13 @@ class DatabaseLookup
 | 
			
		||||
            if ($code = $request->confirmation_code) {
 | 
			
		||||
                LookupUser::setServerByField('confirmation_code', $code);
 | 
			
		||||
            } elseif (session(SESSION_DB_SERVER)) {
 | 
			
		||||
                /*
 | 
			
		||||
                if (Auth::viaRemember()) {
 | 
			
		||||
                    Auth::logout();
 | 
			
		||||
                } else {
 | 
			
		||||
                    // do nothing
 | 
			
		||||
                }
 | 
			
		||||
                */
 | 
			
		||||
            } elseif (! Auth::check() && $email = $request->email) {
 | 
			
		||||
                LookupUser::setServerByField('email', $email);
 | 
			
		||||
            } else {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user