Add custom login page

This commit is contained in:
DL6ER
2016-12-08 16:39:44 +01:00
parent 2f03c5491c
commit 9c7dc19d80
3 changed files with 27 additions and 8 deletions
+2 -8
View File
@@ -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']))){ ?>
<div class="page-header">
<h1>Login required!</h1>
</div>
<form action="" method="POST">
Password: <input type="password" name="pw">&nbsp;<input type="submit" value="Login">
</form>
<?php
if(!$auth && (!isset($indexpage) || isset($_GET['login']))){
require "php/loginpage.php";
require "footer.php";
exit();
}