siwwy :3 #3
					 1 changed files with 1 additions and 1 deletions
				
			
		ACTUALLY make the cooldown 60 minutes
				commit
				
					
					
						50a8b45625
					
				
			
		| 
						 | 
				
			
			@ -25,7 +25,7 @@ public function handle(Request $request, Closure $next): Response
 | 
			
		|||
        }
 | 
			
		||||
 | 
			
		||||
        // Add the IP address to the cache and set the expiration time to one hour
 | 
			
		||||
        Cache::put($cacheKey, true, 60);
 | 
			
		||||
        Cache::put($cacheKey, true, 3600);
 | 
			
		||||
 | 
			
		||||
        return $next($request);
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue