[phpWebLog-devel] stuff.
Brought to you by:
openface
|
From: Jason H. <ope...@ey...> - 2000-06-14 19:04:26
|
The problem with some users not being to login to admin has finally been solved. I apologize that so many have had to help troubleshoot/debug this to get it working on their system. The problem was a result of ignorance, a huge blunder on my part. I was not using php's crypt() correctly AT ALL. Instead of checking for which encryption methods were availble of a system, and encrypting accordingly, I was using using the string "CRYPT_BLOWFISH" as the salt. Lame eh. I must've been skimming the docs a page a second. CRYPT_BLOWFISH is a constant that returns either 0 or 1 depending of whether or not that particular system supports it. What this was doing was setting the salt to either 0 or 1. I develop on Linux, which by default does not support blowfish, so the default password that was shipped with phpWebLog was set with a salt of 0. This means that this would work fine on any system that didn't support blowfish. However, as I saw more people using BSD having problems, whala. BSD is well know for their all-encompassing encryption support. I learned my lesson. =] Jason |