mirror of
https://gitlab.com/mojo42/Jirafeau.git
synced 2025-04-22 12:36:17 +02:00
[FEATURE] No logout button for upload_ip_nopassword
This commit is contained in:
parent
6c160f2205
commit
7578ca7e1d
@ -259,7 +259,8 @@ else {
|
||||
</div> </fieldset>
|
||||
|
||||
<?php
|
||||
if (jirafeau_has_upload_password($cfg)) {
|
||||
if (jirafeau_has_upload_password($cfg)
|
||||
&& false === jirafeau_challenge_upload_ip($cfg['upload_ip_nopassword'], get_ip_address($cfg))) {
|
||||
?>
|
||||
<form method="post" class="form logout">
|
||||
<input type = "hidden" name = "action" value = "logout"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user