Skip to content
Permalink
Browse files
no frames
  • Loading branch information
rodber committed Oct 18, 2021
1 parent 1325324 commit 52760d0b1ba260ed207fe1836670a4d104d0591e
Showing with 1 addition and 0 deletions.
  1. +1 −0 app/web.php
@@ -148,6 +148,7 @@
try {
if (!isset($hook_before)) {
$hook_before = function ($handler) {
header("Content-Security-Policy: frame-ancestors 'none'");
$failed_access_requests = Requestlog::getCounts(['login', 'signup'], 'fail');
if (is_max_invalid_request($failed_access_requests['day'])) {
G\set_status_header(403);

0 comments on commit 52760d0

Please sign in to comment.