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;
}
} else {
$return = urlencode($_REQUEST["return"]);
?><html>
<head><title>Tiny Tiny RSS</title></head>
<body>
<form method="POST">
<input type="hidden" name="login_action" value="do_login">
<form action="public.php?return=<?php echo $return ?>"
method="POST">
<input type="hidden" name="op" value="login">
<input type="hidden" name="login" value="<?php echo htmlspecialchars($login) ?>">
<input type="hidden" name="password" value="<?php echo htmlspecialchars($password) ?>">

View File

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