fix: #192 session id truncated

This commit is contained in:
grandeljay 2024-01-27 13:51:38 +01:00
parent 523a5b18f9
commit 9d3e0cc16d

View file

@ -384,7 +384,7 @@ switch ($step) {
'CREATE TABLE `sessions` (
`id` INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
`user` INT NOT NULL,
`session` VARCHAR(32) NOT NULL,
`session` VARCHAR(60) NOT NULL,
`expires` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP(),
INDEX `idx_user` (`session`),