mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
Add the known alts panel, which prevents suspicious login logs for whitelisted ckeys (#62520)
* Known alts panel * Add notice before opening panel * DB_MINOR_VERSION * Better ban panel default * Revert dbconfig * Add TTL * Add qdels
This commit is contained in:
@@ -663,6 +663,18 @@ CREATE TABLE `SS13_admin_connections` (
|
||||
UNIQUE INDEX `unique_constraints` (`ckey`, `ip`, `cid`)
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
--
|
||||
-- Table structure for table `known_alts`
|
||||
--
|
||||
DROP TABLE IF EXISTS `SS13_known_alts`;
|
||||
CREATE TABLE `SS13_known_alts` (
|
||||
`id` INT NOT NULL AUTO_INCREMENT,
|
||||
`ckey1` VARCHAR(32) NOT NULL,
|
||||
`ckey2` VARCHAR(32) NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE INDEX `unique_contraints` (`ckey1` , `ckey2`)
|
||||
);
|
||||
|
||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
||||
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
||||
|
||||
Reference in New Issue
Block a user