login.php error return header 401 (#302)

Fix #301
This commit is contained in:
yrpen 2017-07-21 13:52:03 +02:00 committed by Stefan A. Brannfjell
parent c83f2d19fa
commit 6125c05fab

View File

@ -209,6 +209,7 @@ if (empty($errors) === false) {
?>
<h2>We tried to log you in, but...</h2>
<?php
header("HTTP/1.1 401 Not Found");
echo output_errors($errors);
}