I migrated to SMF with custom script because mine wasn't found. I encountered some bug which is yet to be solved but what's making me unhappy is I can't login.
E.g
username: Steven
passwd : *the hash*
please is it because the username's initial is on capital??
This is really difficult to answer, because we don't know where you migrated from, and what that script you used actually did...
I migrated from a custom forum script.
What I used is Insert into smf_members (fields), select from custom_users(field). that's what I did, the password hash is the same with that of the custom users after import but still not work
That is probably exactly why it doesn't work. You just copied it over, and I'm willing to bet your custom script and SMF handle passwords very differently.
Quote from: Aleksi "Lex" Kilpinen on July 21, 2018, 07:33:34 AM
That is probably exactly why it doesn't work. You just copied it over, and I'm willing to bet your custom script and SMF handle passwords very differently.
So what can I do? is there any converter I can edit to that of my script?
Not my area of expertise, someone else will know better, but I'd say a good start would be knowing how the passwords are created in your old software.
okay thank u
I just check and found out they use sha1($password);
$password = strtolower($username) . $pass;
that's what they use before inserting data.
What can I do now I know how they made the password.
Quote from: mattizzy on July 21, 2018, 07:53:14 AM
I just check and found out they use sha1($password);
What can I do now I know how they made the password
how did you make yours
Quote from: SychO on July 21, 2018, 07:54:26 AM
Quote from: mattizzy on July 21, 2018, 07:53:14 AM
I just check and found out they use sha1($password);
What can I do now I know how they made the password
how did you make yours
$password = strtolower($username) . $pass;
the same way with SMF.
where $pass is what you get from the input