Small changes
This commit is contained in:
@ -5,6 +5,7 @@ global $GITEA_TOKEN;
|
||||
if ($_SERVER['PHP_AUTH_USER'] !== 'elwig' || $_SERVER['PHP_AUTH_PW'] !== 'ganzGeheim123!') {
|
||||
header('Status: 401');
|
||||
header('WWW-Authenticate: Basic realm="Elwig"');
|
||||
header('Content-Type: text/plain');
|
||||
exit("401 Unauthorized :(\n");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user