瀏覽代碼

Merge pull request #121 from emanuele45/patch-1

integrate_other_passwords should pass the array of other passwords
emanuele45 12 年之前
父節點
當前提交
0ff0d79c4d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Sources/LogInOut.php

+ 1 - 1
Sources/LogInOut.php

@@ -364,7 +364,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))