Remove some debug, add return for login hook
This commit is contained in:
		
							parent
							
								
									25ccada7c6
								
							
						
					
					
						commit
						3e52400d52
					
				| @ -201,7 +201,9 @@ class defense extends rcube_plugin { | |||||||
|             header('HTTP/1.1 403 Forbidden'); |             header('HTTP/1.1 403 Forbidden'); | ||||||
|             die(); |             die(); | ||||||
|         } |         } | ||||||
|         $this->debug("send login form"); |          | ||||||
|  |         $this->debug("Sending login form"); | ||||||
|  |         return $content | ||||||
|     } |     } | ||||||
|      |      | ||||||
|   /** |   /** | ||||||
| @ -273,7 +275,6 @@ class defense extends rcube_plugin { | |||||||
|             $result = $this->rc->db->query($query, time(), 1, $this->ipaddr, serialize($data)); |             $result = $this->rc->db->query($query, time(), 1, $this->ipaddr, serialize($data)); | ||||||
|             if (!$result) { $this->dbError($query); return; } |             if (!$result) { $this->dbError($query); return; } | ||||||
|             $this->debug($query . " [" . $result->rowCount() . "]"); |             $this->debug($query . " [" . $result->rowCount() . "]"); | ||||||
|             $this->debug("Ban set to: " . $duration . "s"); |  | ||||||
|             return; |             return; | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user