@@ -131,7 +131,7 @@ |
||
131 | 131 | private function hashLDAPPassword($password, $salt) |
132 | 132 | { |
133 | 133 | $shaHashed = sha1($password.$salt); |
134 | - $packed = pack("H*",$shaHashed); |
|
134 | + $packed = pack("H*", $shaHashed); |
|
135 | 135 | $encoded = base64_encode($packed.$salt); |
136 | 136 | return "{SSHA}".$encoded; |
137 | 137 | } |