- Timestamp:
- Jan 31, 2010, 10:13:41 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sql/updates/308.sql
r308 r309 2 2 3 3 -- Salt passwords 4 UPDATE `user` SET Salt= SUBSTRING(SHA1(RAND()), 1, 8);5 UPDATE `user` SET `pass` = sha1(CONCAT(`pass`, `Salt`)) 4 UPDATE `user` SET `Salt` = SUBSTRING(SHA1(RAND()), 1, 8); 5 UPDATE `user` SET `pass` = sha1(CONCAT(`pass`, `Salt`));
Note:
See TracChangeset
for help on using the changeset viewer.