diff options
author | Michiel@unhosted <michiel@unhosted.org> | 2011-09-12 14:59:22 +0200 |
---|---|---|
committer | Michiel@unhosted <michiel@unhosted.org> | 2011-09-12 14:59:22 +0200 |
commit | 6e569c5ed10f62e7e6142816fe371f82c1f1d8e1 (patch) | |
tree | 9b2a21fbf5dad7d85895462c49d4e24a41f2a3c0 /apps/user_webfinger | |
parent | f928d4af564e719c34e6c03a9c9ca261a8a1076e (diff) | |
download | nextcloud-server-6e569c5ed10f62e7e6142816fe371f82c1f1d8e1.tar.gz nextcloud-server-6e569c5ed10f62e7e6142816fe371f82c1f1d8e1.zip |
correction in webfinger.php activation trap
Diffstat (limited to 'apps/user_webfinger')
-rw-r--r-- | apps/user_webfinger/webfinger.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_webfinger/webfinger.php b/apps/user_webfinger/webfinger.php index c5f6680193c..269bb4758ed 100644 --- a/apps/user_webfinger/webfinger.php +++ b/apps/user_webfinger/webfinger.php @@ -1,5 +1,5 @@ <?php -if($_SERVER['SCRIPT_NAME'] == '/.well-known/host-meta.php') { +if($_SERVER['SCRIPT_NAME'] == '/.well-known/webfinger.php') { header("Access-Control-Allow-Origin: *"); } else { header('Please-first: activate'); |