mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 00:17:34 -05:00 
			
		
		
		
	Merge pull request #5050 from turbo124/v5-develop
Fixes for typo in password protection
This commit is contained in:
		
						commit
						d55664d84b
					
				@ -71,7 +71,7 @@ class PasswordProtection
 | 
			
		||||
                    Cache::add(auth()->user()->hashed_id.'_logged_in', Str::random(64), now()->addMinutes(30));
 | 
			
		||||
                    return $next($request);
 | 
			
		||||
                }
 | 
			
		||||
                elseif($existing_user = MultiDB::hasUser($query) && !auth()->uer()->has_password){
 | 
			
		||||
                elseif($existing_user = MultiDB::hasUser($query) && !auth()->user()->has_password){
 | 
			
		||||
 | 
			
		||||
                    Cache::add(auth()->user()->hashed_id.'_logged_in', Str::random(64), now()->addMinutes(30));
 | 
			
		||||
                    return $next($request);                    
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user