Forráskód Böngészése

integrate_other_passwords should pass the array of other passwords

emanuele45 12 éve
szülő
commit
5aacb06559
1 módosított fájl, 1 hozzáadás és 1 törlés
  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))