Add CSRF protections
This commit is contained in:
@@ -263,6 +263,6 @@ function version_1($pdo)
|
||||
$pdo->exec("
|
||||
INSERT INTO config
|
||||
(webhooks_token)
|
||||
VALUES ('".\Model\Base::generateToken()."')
|
||||
VALUES ('".\Core\Security::generateToken()."')
|
||||
");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user