Skip to content

Commit

Permalink
ui: a bit of OCD, setting the header...
Browse files Browse the repository at this point in the history
should not be tampered with so it's probably better to
move it into the commented CSRF area to raise its importance.
  • Loading branch information
fichtner committed Nov 29, 2017
1 parent 9e20956 commit bdecf7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/www/guiconfig.inc
Expand Up @@ -34,8 +34,8 @@ require_once("config.inc");

/* CSRF BEGIN: CHECK MUST BE EXECUTED FIRST; NO EXCEPTIONS */
require_once('csrf.inc');
header('X-Frame-Options: SAMEORIGIN');
/* CSRF END: THANK YOU FOR YOUR COOPERATION */
header("X-Frame-Options: SAMEORIGIN");

function get_current_theme()
{
Expand Down

0 comments on commit bdecf7e

Please sign in to comment.