mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 11:18:56 +00:00
Fix the redirect to login page for rss feeds.
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ if ($page->isPostBack())
|
||||
{
|
||||
$page->smarty->assign('error', "Your account has been disabled.");
|
||||
}
|
||||
else if ($page->users->checkPassword($_POST["password"], $res["password"]))
|
||||
else if ($page->users->checkPassword($_POST["password"], $res["password"], $res['id']))
|
||||
{
|
||||
$rememberMe = (isset($_POST['rememberme']) && $_POST['rememberme'] == 'on') ? 1 : 0;
|
||||
$page->users->login($res["id"], $_SERVER['REMOTE_ADDR'], $rememberMe);
|
||||
|
||||
Reference in New Issue
Block a user