Explorar o código

Merge pull request #121 from emanuele45/patch-1

integrate_other_passwords should pass the array of other passwords
emanuele45 %!s(int64=12) %!d(string=hai) anos
pai
achega
0ff0d79c4d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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))