From c3607d88e30e2138d02c25e356e69b9eee4344c9 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Fri, 13 Jul 2018 14:45:48 +0000 Subject: [PATCH] authentication : Add X-Frame-Options "SAMEORIGIN" to authentication page git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4284 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- authentication.php | 1 + 1 file changed, 1 insertion(+) diff --git a/authentication.php b/authentication.php index ccafadc..97a4d41 100644 --- a/authentication.php +++ b/authentication.php @@ -128,6 +128,7 @@ class authentication $alreadyAuth = $pre->email; if ($this->appName !== null) $auth->appName = $this->appName; + @header ('X-Frame-Options: SAMEORIGIN'); echo $auth->pageHTML ($this->route->baseURL(), $message, $url, $alreadyAuth); }