Show "Logout" only if (a) password is set and (b) user has successfully logged in.

This commit is contained in:
DL6ER
2016-11-16 13:16:49 +01:00
parent 7cbd9bd9db
commit cb874e7c69
+1 -1
View File
@@ -227,7 +227,7 @@
</a>
</li>
<!-- Logout -->
<?php if(strlen($webpw) > 0) { ?>
<?php if(strlen($webpw) > 0 && $auth) { ?>
<li>
<a href="index.php">
<i class="fa fa-user-times"></i> <span>Logout</span>