mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 08:25:57 +00:00
sessions: don't check schema version
This commit is contained in:
@@ -22,12 +22,13 @@
|
|||||||
function validate_session() {
|
function validate_session() {
|
||||||
if (\Config::get(\Config::SINGLE_USER_MODE)) return true;
|
if (\Config::get(\Config::SINGLE_USER_MODE)) return true;
|
||||||
|
|
||||||
if (isset($_SESSION["ref_schema_version"]) && $_SESSION["ref_schema_version"] != \Config::get_schema_version()) {
|
/* if (isset($_SESSION["ref_schema_version"]) && $_SESSION["ref_schema_version"] != \Config::get_schema_version()) {
|
||||||
$_SESSION["login_error_msg"] =
|
$_SESSION["login_error_msg"] =
|
||||||
__("Session failed to validate (schema version changed)");
|
__("Session failed to validate (schema version changed)");
|
||||||
return false;
|
return false;
|
||||||
}
|
} */
|
||||||
$pdo = \Db::pdo();
|
|
||||||
|
$pdo = \Db::pdo();
|
||||||
|
|
||||||
if (!empty($_SESSION["uid"])) {
|
if (!empty($_SESSION["uid"])) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user