mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 07:55:56 +00:00
fix OTP
This commit is contained in:
@@ -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) ?>">
|
||||||
|
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user