Passwords
#9

pawn Код:
RegisterPlayer(playerid, inputtext);
If you register with password "test", it will write to the file "test" for password. When it's time to login, you hash the password first and that's why they do not match.

Replace to:
pawn Код:
new hashPassword[129];
WP_Hash(hashPassword, 129, inputtext);
RegisterPlayer(playerid, hashPassword);
Reply


Messages In This Thread
Passwords - by mirou123 - 27.08.2013, 21:54
Re: Passwords - by EiresJason - 27.08.2013, 22:01
Re : Passwords - by mirou123 - 27.08.2013, 22:18
Re: Passwords - by Konstantinos - 27.08.2013, 22:27
Re : Passwords - by mirou123 - 27.08.2013, 22:48
Re : Passwords - by mirou123 - 29.08.2013, 15:19
Re: Passwords - by Konstantinos - 29.08.2013, 15:21
Re : Passwords - by mirou123 - 29.08.2013, 15:29
Re: Passwords - by Konstantinos - 29.08.2013, 15:38
Re : Passwords - by mirou123 - 29.08.2013, 15:46

Forum Jump:


Users browsing this thread: 1 Guest(s)