diff --git a/header.php b/header.php
index 6d92a4ad..0979d004 100644
--- a/header.php
+++ b/header.php
@@ -341,14 +341,8 @@
//
// If auth is required and not set, i.e. no successfully logged in,
// we show the reduced version of the summary (index) page
- if(!$auth && (!isset($indexpage) || isset($_GET['login']))){ ?>
-
-
-
+
+
+
+
+
+
+
+
diff --git a/php/password.php b/php/password.php
index 549771cd..1c1ce4c0 100644
--- a/php/password.php
+++ b/php/password.php
@@ -20,6 +20,8 @@
session_unset();
}
+ $wrongpassword = false;
+
// Test if password is set
if(strlen($pwhash) > 0)
{
@@ -32,6 +34,10 @@
$_SESSION["hash"] = $pwhash;
$auth = true;
}
+ else
+ {
+ $wrongpassword = true;
+ }
}
// Compare auth hash with saved hash
else if (isset($_SESSION["hash"]))