forked from leftypol/leftypol
[SECURITY] keep up with modern password hashing standards
This commit is contained in:
parent
028fd3df15
commit
caaf741691
5 changed files with 87 additions and 21 deletions
|
@ -131,8 +131,8 @@ CREATE TABLE IF NOT EXISTS `modlogs` (
|
|||
CREATE TABLE IF NOT EXISTS `mods` (
|
||||
`id` smallint(6) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`username` varchar(30) NOT NULL,
|
||||
`password` char(64) CHARACTER SET ascii NOT NULL COMMENT 'SHA256',
|
||||
`salt` char(32) CHARACTER SET ascii NOT NULL,
|
||||
`password` varchar(256) CHARACTER SET ascii NOT NULL COMMENT 'SHA256',
|
||||
`salt` varchar(64) CHARACTER SET ascii NOT NULL,
|
||||
`type` smallint(2) NOT NULL,
|
||||
`boards` text CHARACTER SET utf8 NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue