sessions: don't check schema version
This commit is contained in:
parent
c0fb0a5ec0
commit
e19570f422
|
@ -22,11 +22,12 @@
|
|||
function validate_session() {
|
||||
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 failed to validate (schema version changed)");
|
||||
return false;
|
||||
}
|
||||
} */
|
||||
|
||||
$pdo = \Db::pdo();
|
||||
|
||||
if (!empty($_SESSION["uid"])) {
|
||||
|
|
Loading…
Reference in New Issue