On Oct 1, 2009, at 12:40 AM, Marc G. Fournier wrote:
> Chris, it appears that if you create a new user in the newest
> that user can't login afterwards (I've tested it to make sure it
> something like user not being aware its case dependent) ...
> If I go into the DB and do an update using md5() to set the password,
> afterwards I can login fine, so I suspect something in the routing to
> create the password is failing ... ?
> Not sure how best to debug this one though ...
So you have a clean install of slash, correct?
If I recall correctly, when a new account is created it actually puts
the autogenerated-password in the users.newpasswd field. Then, once
the user has authenticated their email address, it removes
users.newpasswd and users.passwd is used.
So in this case, Slash::Test is probably your friend. If you've not
used Slash::Test, do a "perldoc Slash::Test" on the command line.
Because you could use it as such
perl -MSlash::Test -e "print $slashdb->createUser('nicknamefoo','email@...
and then follow along in the DB and check users.passwd,
users.newpasswd and compare that with the autogenerated email's
information contained within it.
That should get you started.