This commit is contained in:
Andrew Dolgov 2012-09-10 19:18:44 +04:00
parent d493aba238
commit 2d6847495f
2 changed files with 4 additions and 4 deletions

View File

@ -32,11 +32,13 @@ class Auth_Internal extends Auth_Base {
return false; return false;
} }
} else { } else {
$return = urlencode($_REQUEST["return"]);
?><html> ?><html>
<head><title>Tiny Tiny RSS</title></head> <head><title>Tiny Tiny RSS</title></head>
<body> <body>
<form method="POST"> <form action="public.php?return=<?php echo $return ?>"
<input type="hidden" name="login_action" value="do_login"> method="POST">
<input type="hidden" name="op" value="login">
<input type="hidden" name="login" value="<?php echo htmlspecialchars($login) ?>"> <input type="hidden" name="login" value="<?php echo htmlspecialchars($login) ?>">
<input type="hidden" name="password" value="<?php echo htmlspecialchars($password) ?>"> <input type="hidden" name="password" value="<?php echo htmlspecialchars($password) ?>">

View File

@ -480,8 +480,6 @@ class Handler_Public extends Handler {
function login() { function login() {
print_r($_REQUEST);
$_SESSION["prefs_cache"] = array(); $_SESSION["prefs_cache"] = array();
if (!SINGLE_USER_MODE) { if (!SINGLE_USER_MODE) {