Make worst password search case-insensitive
This commit is contained in:
		
							parent
							
								
									1b334ff894
								
							
						
					
					
						commit
						1665b3f3e7
					
				| @ -513,7 +513,7 @@ function checkWorst500List($search) { | |||||||
|         "albert" |         "albert" | ||||||
|     ]; |     ]; | ||||||
|      |      | ||||||
|     $index = array_search($search, $worst_password_list); |     $index = array_search(strtolower($search), $worst_password_list); | ||||||
|     if ($index === FALSE) { |     if ($index === FALSE) { | ||||||
|         return false; |         return false; | ||||||
|     } else { |     } else { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user