diff options
author | Andrew Dolgov <[email protected]> | 2013-03-30 10:48:19 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-30 10:48:19 +0400 |
commit | 70400171600e00e0f6a313969a385fa236491540 (patch) | |
tree | 31829870b8ca1889b132c147cb53a48372faf58d /include | |
parent | c93f98e1231b5fcdd0cac334df50998f36314510 (diff) |
unbreak auth_remote and possibly other auth plugins
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php index 34f4112b2..030d8d50e 100644 --- a/include/functions.php +++ b/include/functions.php @@ -582,7 +582,6 @@ function authenticate_user($link, $login, $password, $check_only = false) { if (!SINGLE_USER_MODE) { - $user_id = false; global $pluginhost; @@ -597,6 +596,8 @@ } if ($user_id && !$check_only) { + @session_start(); + $_SESSION["uid"] = $user_id; $result = db_query($link, "SELECT login,access_level,pwd_hash FROM ttrss_users |