From 7be8caba5198582797ef23990cbbd602e66d1998 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Mon, 15 Jun 2015 21:23:51 +0200 Subject: [PATCH] always send indieauth header --- www/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/index.php b/www/index.php index de410c1..3a32eea 100644 --- a/www/index.php +++ b/www/index.php @@ -13,6 +13,7 @@ * @link http://indiewebcamp.com/auth-brainstorming * @link https://indieauth.com/developers */ +header('IndieAuth: authorization_endpoint'); if (($_SERVER['REQUEST_METHOD'] == 'GET' || $_SERVER['REQUEST_METHOD'] == 'HEAD') && count($_GET) == 0 ) { @@ -131,7 +132,6 @@ function getBaseUrl() . $file; } -header('IndieAuth: authorization_endpoint'); session_start(); $returnTo = getBaseUrl(); $realm = getBaseUrl(); -- 2.30.2