mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-08-16 02:57:26 +02:00
validate_session: hotfix for SINGLE_USER_MODE
This commit is contained in:
parent
92952e25dc
commit
741edab27a
@ -1534,6 +1534,10 @@
|
||||
}
|
||||
|
||||
function validate_session($link) {
|
||||
if (SINGLE_USER_MODE) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (SESSION_CHECK_ADDRESS && $_SESSION["uid"]) {
|
||||
if ($_SESSION["ip_address"]) {
|
||||
if ($_SESSION["ip_address"] != $_SERVER["REMOTE_ADDR"]) {
|
||||
|
Loading…
Reference in New Issue
Block a user