mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 03:26:31 +01:00
Privacy Policy Fixes Part 2 (#5310)
## About The Pull Request - Fixes the privacy policy still showing up after accepted. - Makes it so closing out of the window kicks you. - Converts the whole thing from preference based to SQL based. ## Why It's Good For The Game Fixes and polish for a previously accepted PR are good for the game, yes. ## Proof Of Testing I can't take a screenshot of a privacy policy that didn't show up the second time around after I accepted it, but it properly filled out the database and worked during testing. ## Changelog 🆑 add: Closing out of the Privacy Policy window instead of accepting it now kicks you. fix: Fixed the Privacy Policy window showing up after you've already accepted it once, for real this time. /🆑
This commit is contained in:
@@ -45,3 +45,12 @@ CREATE TABLE `stored_faxes` (
|
||||
COLLATE='utf8mb4_general_ci'
|
||||
ENGINE=InnoDB
|
||||
;
|
||||
|
||||
DROP TABLE IF EXISTS `privacy_policy_acceptances`;
|
||||
CREATE TABLE `privacy_policy_acceptances` (
|
||||
`id` INT NOT NULL AUTO_INCREMENT,
|
||||
`ckey` VARCHAR(32) NOT NULL,
|
||||
`policy_key` VARCHAR(64) NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE INDEX `ckey_policy_unique` (`ckey`, `policy_key`)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user