The text shown if you cancel the password prompt is clearer now.
This commit is contained in:
parent
3006bac2ce
commit
9b0db83256
|
@ -20,7 +20,7 @@ if(!is_null($config['cops_basic_authentication']) &&
|
||||||
{
|
{
|
||||||
header('WWW-Authenticate: Basic realm="COPS Authentication"');
|
header('WWW-Authenticate: Basic realm="COPS Authentication"');
|
||||||
header('HTTP/1.0 401 Unauthorized');
|
header('HTTP/1.0 401 Unauthorized');
|
||||||
echo 'Text to send if user hits Cancel button';
|
echo 'This site is password protected';
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue