Skip to content

Commit

Permalink
Switch to sameorigin
Browse files Browse the repository at this point in the history
  • Loading branch information
remdex committed Aug 24, 2021
1 parent 615b5a2 commit 51c2418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lhc_web/lib/core/lhcore/lhmodule.php
Expand Up @@ -87,7 +87,7 @@ static function runModule()
// Send X-Frame-Options if URL is private
// Or it's site_admin based one
if (isset($currentUser) || erLhcoreClassSystem::instance()->SiteAccess == 'site_admin') {
header('X-Frame-Options: DENY');
header('X-Frame-Options: SAMEORIGIN');
}

if (isset($currentUser) && $currentUser->isLogged() && ($timeZone = $currentUser->getUserTimeZone()) != '') {
Expand Down

0 comments on commit 51c2418

Please sign in to comment.