Password Incorrect even when correct
#2

you're using the variable 'pass' in your SQL query. So your query looks like this when it runs:

SELECT `Name` FROM Users WHERE Name = 'noob' AND Password = 'password'"

you wanna use FinalPassword for the second argument in your query format so that it looks for the hash in the database, not the string of what the player inserted.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)