I received a follow-up email regarding this issue. I was able to reproduce the problem with a new install of Extend-A-Story and was able to come up with a solution. I replied via email, but I'm posting the solution here as well for anyone else who runs into the problem.
It turns out that MySQL has changed how the 'password' function works since I first wrote Extend-A-Story. While the function originally returned a 16 character hash of the password, it now returns a 41 character hash of the password. The 'User' table only allows for 16 characters for the password, and thus the password hash is getting truncated. As a result, no one will be able to log in using any password when using the current version of Extend-A-Story on a recent version of MySQL.
Fortunately, there is a simple fix. You need to increase the length of the 'Password' column in the 'User' table and then update the password for all users.
To increase the length of the password column, run the following in MySQL:
Code: Select all
alter table User modify column Password varchar( 255 ) not null;
To update the password for a user, run the following in MySQL (replacing <new password> and <username> as appropriate):
Code: Select all
update User set Password = password( '<new password>' ) where LoginName = '<username>';
For example, if you want to change the password of the admin account to the 'change-me' password, you would run the following in MySQL:
Code: Select all
update User set Password = password( 'change-me' ) where LoginName = 'admin';
When you perform the above steps, you should now be able to log in.