Last edited by Xeon Retro; 06-05-15 at 11:41 PM.
Run this query:
That should resolve your issue.Code:ALTER TABLE users ADD `account_locked` enum('0','1') NOT NULL DEFAULT '0';
Now i have this Unknown column 'staff_pin' in 'where clause' @asesinato
Run this query:
Code:ALTER TABLE users ADD `staff_pin` text;
Where is the staff Pin? I' Don't know what is the document @asesinato
It's a staff pin to stop staffs accounts getting hacked. Each user should be assigned a unique pin to their account. You can remove this by removing the PHP code in the top of your client.
yes but, i ' haven't got any pin, can i modify it?
- - - Updated - - -
Ok, I've found the pin, Thanks very much!!!
To add pins you can just run this query.
If your pin system does not use hashing you could just run thisCode:UPDATE users SET staff_pin = md5('PinHere') WHERE username = 'YourUsername'
Not tested these but they should work if anyone can see a problem with them feel free to correct it.Code:UPDATE users SET staff_pin = 'PinHere' WHERE username = 'YourUsername'