My Login system is accepting any password.
#6

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
Make one!

@OP: This is the correct answer:



So instead of doing this:

pawn Код:
if(strcmp(passkey,password, true))
You need to see if strcmp returns false/0, in which case, the strings match!

pawn Код:
if(!strcmp(passkey,password, true))
[Edit] Nevermind, I fixed the problem!

[Error] I put "tmp" var in OnDialogResponse instead of inputtext, silly me! :P

L&A (lock and archive)! :X
Reply


Messages In This Thread
My Login system is accepting any password. - by seanny - 22.02.2013, 18:54
Re: My Login system is accepting any password. - by Vince - 22.02.2013, 18:57
Re: My Login system is accepting any password. - by tyler12 - 22.02.2013, 19:01
Re: My Login system is accepting any password. - by Goldino - 22.02.2013, 19:12
Re: My Login system is accepting any password. - by Scenario - 22.02.2013, 19:22
Re: My Login system is accepting any password. - by seanny - 22.02.2013, 20:04

Forum Jump:


Users browsing this thread: 1 Guest(s)