PDA

View Full Version : Changing a login account password in the PEQ database


phis2017
11-14-2021, 05:12 PM
Hey Folks,
I want to know how to change a login account password in the PQ database.
Looking in the login_accounts table, I noticed that there is a field called account_password. However, it looks like the data is encrypted. Is there a function that I can use to generate the encryption hash? Thanks!!

J3wish
11-19-2021, 09:00 PM
Unless I'm reading this incorrectly.. You're trying to decrypt a login_account password that has logged into your server? That's pretty sus.

phis2017
12-20-2021, 08:06 PM
Not really decrypting it.. I just need to know how to change the password if someone forgets it. Is there a trigger on the the database that automatically encrypts the password when the field is updated or do I need to use some kind of PED encryption function to convert the password and then paste it into the field.


Thanks!

Scorpius
12-21-2021, 07:26 AM
It would prob be easier to get the user to create a new login, then move the char(s) associated with the old account to the new

Only if your are 101% sure they are the actual owner thou
A lot of admins wont do it as it can cause problems down the line

If a user forgets there pws then they can only blame themselves imo :)

phis2017
12-22-2021, 06:43 PM
LOL!!! Thanks Scorpius!