diff options
author | Andrew Dolgov <[email protected]> | 2017-06-28 12:36:14 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-06-28 12:36:14 +0300 |
commit | 5c341bbd6aa66bc537996485dde0752ffc4336b3 (patch) | |
tree | 9eca28bad8cba44c05d851188a7738938e6e41ad | |
parent | 9f4927825bb5efeefdff9a2aac05c5b3200f5ef6 (diff) |
add error message for http auth
-rw-r--r-- | index.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3,6 +3,10 @@ die("Please copy config.php-dist to config.php and edit it."); } + if (isset($_SERVER["PHP_AUTH_USER"])) { + die("HTTP Authentication is no longer supported, please see migration notes in git."); + } + require_once "config.php"; require_once "sessions.php"; require_once "db.php"; |