The text shown if you cancel the password prompt is clearer now.

This commit is contained in:
Sébastien Lucas 2014-11-11 21:17:10 +01:00
parent 3006bac2ce
commit 9b0db83256

View file

@ -20,7 +20,7 @@ if(!is_null($config['cops_basic_authentication']) &&
{
header('WWW-Authenticate: Basic realm="COPS Authentication"');
header('HTTP/1.0 401 Unauthorized');
echo 'Text to send if user hits Cancel button';
echo 'This site is password protected';
exit;
}
}