crypt and adduser tool

This commit is contained in:
2021-01-26 22:06:39 +01:00
parent ca9e0b81d3
commit e1b9597fdb
3 changed files with 80 additions and 13 deletions

View File

@ -47,6 +47,9 @@ ALTER TABLE `users`
ALTER TABLE `users`
MODIFY COLUMN expiry int(10) unsigned NOT NULL;
ALTER TABLE `users`
MODIFY COLUMN expiry int(10) unsigned NOT NULL DEFAULT 600;
CREATE TABLE `claims` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`key` varchar(64) NOT NULL,