Bladeren bron

Merge pull request #121 from emanuele45/patch-1

integrate_other_passwords should pass the array of other passwords
emanuele45 12 jaren geleden
bovenliggende
commit
0ff0d79c4d
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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))