소스 검색

integrate_other_passwords should pass the array of other passwords

emanuele45 12 년 전
부모
커밋
5aacb06559
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Sources/LogInOut.php

+ 1 - 1
Sources/LogInOut.php

@@ -359,7 +359,7 @@ function Login2()
 		}
 
 		// Allows mods to easily extend the $other_passwords array
-		call_integration_hook('integrate_other_passwords');
+		call_integration_hook('integrate_other_passwords', array($other_passwords));
 
 		// Whichever encryption it was using, let's make it use SMF's now ;).
 		if (in_array($user_settings['passwd'], $other_passwords))