SA-MP Forums Archive
User Password - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: User Password (/showthread.php?tid=483537)



User Password - Doros - 26.12.2013

How can I Know User Password I working with Mysql
if
PHP код:
180500=F7238F653E824485343C15396706E13B3EAA8D7240B9343CD0399B91C276D469AC73867251D9D71371C8C1935CAF35A18FC11998AB5D365AF96A802499792143 



Re: User Password - Konstantinos - 26.12.2013

You cannot. It's hashed with Whirlpool. I also recommend you to keep it as it is - after all, that's the point of using hashed passwords (security for each user).


Re: User Password - Zloobe - 26.12.2013

If you want to know, Remove the Password Hash in the script :P


Re: User Password - Vince - 26.12.2013

You don't. If they need to login, hash their input and compare to what's stored. If they forgot their pass, reset it. You can ask their e-mail during registration which can be used for the reset procedure. Or you can do it by hand if you have a small server and trust your users.

Edit: So slow.


Re: User Password - Doros - 26.12.2013

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
You cannot. It's hashed with Whirlpool. I also recommend you to keep it as it is - after all, that's the point of using hashed passwords (security for each user).
So how NGG Can Reset passwords?


Re: User Password - Konstantinos - 26.12.2013

Quote:
Originally Posted by Doros
Посмотреть сообщение
So how NGG Can Reset passwords?
I cannot answer your question because I don't know that NGG but like Vince said, you can set a new random hashed password and send/give that new password to the user/user's email.


Re: User Password - Abagail - 26.12.2013

I believe NGG has a /changeuserpassword command. They do in-fact have users provide an email, and I believe you have to make a request on the forums, and respond to their email using the provided email address. Not completely sure, tho, but I think that's what they do. Hope I helped.