From 35f44e4e3688aa5066b03efb90a3db8c6bec35fc Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Mon, 9 Oct 2017 09:27:59 +0200 Subject: [PATCH] ... --- auth.php | 1 + 1 file changed, 1 insertion(+) diff --git a/auth.php b/auth.php index db6fada..df144a8 100644 --- a/auth.php +++ b/auth.php @@ -15,6 +15,7 @@ $realm = 'GPS Tracker'; if (empty($_SERVER['PHP_AUTH_DIGEST'])) { header('HTTP/1.1 401 Unauthorized'); header('WWW-Authenticate: Digest realm="'.$realm. + '",qop="auth",nonce="'.uniqid().'",opaque="'.md5($realm).'"'); die('Authentication failed.'); }