mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 08:17:32 -05:00 
			
		
		
		
	Merge pull request #5617 from turbo124/v5-develop
Fixes for password protection
This commit is contained in:
		
						commit
						bc90914fb4
					
				@ -42,7 +42,7 @@ class PasswordProtection
 | 
				
			|||||||
        if($timeout == 0)
 | 
					        if($timeout == 0)
 | 
				
			||||||
            $timeout = now()->addYear();
 | 
					            $timeout = now()->addYear();
 | 
				
			||||||
        else
 | 
					        else
 | 
				
			||||||
            $timeout = now()->addMinutes($timeout/60000);
 | 
					            $timeout = now()->addMinutes($timeout/1000);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (Cache::get(auth()->user()->hashed_id.'_logged_in')) {
 | 
					        if (Cache::get(auth()->user()->hashed_id.'_logged_in')) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user