25.08.2014, 00:11
Quote:
Im more curious as to why you want to change your players passwords? passwords are meant to be private.
What is Encrypt(); ? |
Although you are encrypting players passwords (apparently) to prevent you reading them, you changing a players password to something you know is kind of pointless. If it's an issue with players, forgetting their passwords. Make security questions.
If not security questions, whitelist the last IP that account connected with to an auto login to that account, that once.
Or make a /resetpass command, and email the user their new randomly generated password...
There are many solutions which can prevent you knowing a players password for any situation, there is no need for you to be setting players passwords. Without a good explanation, no one here is going to help you due to invasion of privacy.
EDIT: That isn't going to get anyone to help you, I'm surprised you even encrypt the password -.-