fix OTP
This commit is contained in:
parent
d493aba238
commit
2d6847495f
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue