This reverts commit 35f44e4e36
35f44e4e36
@ -15,7 +15,6 @@ $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.');
}