mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Completely hide session timer if there is no session (i.e. no password set)
This commit is contained in:
+1
-1
@@ -125,7 +125,7 @@
|
||||
<div class="col-xs-4 text-center">
|
||||
<a href="https://github.com/pi-hole/pi-hole/releases">Updates</a>
|
||||
</div>
|
||||
<div class="col-xs-12 text-center">Session is valid for <span id="sessiontimer"><?php if(strlen($pwhash) > 0){echo $maxlifetime;}else{echo "0";} ?></span></div>
|
||||
<div class="col-xs-12 text-center" id="sessiontimer">Session is valid for <span id="sessiontimercounter"><?php if(strlen($pwhash) > 0){echo $maxlifetime;}else{echo "0";} ?></span></div>
|
||||
</li>
|
||||
<!-- Menu Footer -->
|
||||
<li class="user-footer">
|
||||
|
||||
Reference in New Issue
Block a user