Skip to content

Commit

Permalink
bug fix e2
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller committed Jul 28, 2022
1 parent 285fb23 commit 2032434
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions interface/login/login.php
Expand Up @@ -25,6 +25,10 @@
* @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
*/

// prevent UI redressing
Header("X-Frame-Options: DENY");
Header("Content-Security-Policy: frame-ancestors 'none'");

use OpenEMR\Common\Twig\TwigContainer;
use OpenEMR\Services\FacilityService;

Expand Down
4 changes: 4 additions & 0 deletions portal/index.php
Expand Up @@ -16,6 +16,10 @@
* @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
*/

// prevent UI redressing
Header("X-Frame-Options: DENY");
Header("Content-Security-Policy: frame-ancestors 'none'");

//setting the session & other config options

// Will start the (patient) portal OpenEMR session/cookie.
Expand Down

0 comments on commit 2032434

Please sign in to comment.