From: Andrew Dolgov Date: Mon, 10 Sep 2012 15:18:44 +0000 (+0400) Subject: fix OTP X-Git-Tag: 1.6.0~55 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=2d6847495f204c6b50d378843ccff899d0fbe46c;p=tt-rss.git fix OTP --- diff --git a/classes/auth/internal.php b/classes/auth/internal.php index 8993116c..37014ce4 100644 --- a/classes/auth/internal.php +++ b/classes/auth/internal.php @@ -32,11 +32,13 @@ class Auth_Internal extends Auth_Base { return false; } } else { + $return = urlencode($_REQUEST["return"]); ?> Tiny Tiny RSS -
- + + diff --git a/classes/handler/public.php b/classes/handler/public.php index 4d6c117e..998e078d 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -480,8 +480,6 @@ class Handler_Public extends Handler { function login() { - print_r($_REQUEST); - $_SESSION["prefs_cache"] = array(); if (!SINGLE_USER_MODE) {