Converted commands in the module's API file to POD format, and added more details about each function.
---- Changes since 1.470 ----
Fixed a bug that caused an empty shell to appear in the shells list for new users.
+Fixed the hashing format for Blowfish passwords, to put $2a$ at the start instead of $2$.
$base64 = Crypt::Eksblowfish::Bcrypt::en_base64($plain);
}
$base64 = substr($base64, 0, 22);
- $salt = '$2$'.'08'.'$'.$base64;
+ $salt = '$2a$'.'08'.'$'.$base64;
}
return Crypt::Eksblowfish::Bcrypt::bcrypt($passwd, $salt);
}