View Full Version : How know the account pwd?
yingyugang01
04-26-2012, 08:51 AM
I have used myself loginserver, and I insert a account into tblloginserveraccounts.e.g user/password = yyg/123456. Then I try to login by the new account yyg/123456, the system tells me the password is wrong.I checked the code , and find that the systen will encryption the password. my question is what is the correct way to add a account ?:?
lerxst2112
04-26-2012, 01:04 PM
INSERT INTO tblLoginServerAccounts (AccountName, AccountPassword, AccountEmail, LastLoginDate, LastIPAddress) VALUES('Admin', sha('password'), 'admin@somewhere.com', now(), '127.0.0.1');
Replace the name/password inside the '' with what you want to use.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.