From 2d6847495f204c6b50d378843ccff899d0fbe46c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 10 Sep 2012 19:18:44 +0400 Subject: [PATCH] fix OTP --- classes/auth/internal.php | 6 ++++-- classes/handler/public.php | 2 -- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/classes/auth/internal.php b/classes/auth/internal.php index 8993116c6..37014ce47 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 4d6c117eb..998e078dd 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) {