mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-02 01:44:23 +00:00
miner.php user/pass fix 'usr' is readonly
This commit is contained in:
parent
1b2654e1ff
commit
f6bde14c31
@ -2476,7 +2476,7 @@ function onlylogin()
|
|||||||
function checklogin()
|
function checklogin()
|
||||||
{
|
{
|
||||||
global $allowcustompages, $customsummarypages;
|
global $allowcustompages, $customsummarypages;
|
||||||
global $userlist, $ses;
|
global $readonly, $userlist, $ses;
|
||||||
|
|
||||||
$out = trim(getparam('logout', true));
|
$out = trim(getparam('logout', true));
|
||||||
if ($out !== null && $out !== '' && isset($_SESSION[$ses]))
|
if ($out !== null && $out !== '' && isset($_SESSION[$ses]))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user