fix OTP
This commit is contained in:
parent
d493aba238
commit
2d6847495f
2 changed files with 4 additions and 4 deletions
|
@ -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) ?>">
|
||||
|
||||
|
|
|
@ -480,8 +480,6 @@ class Handler_Public extends Handler {
|
|||
|
||||
function login() {
|
||||
|
||||
print_r($_REQUEST);
|
||||
|
||||
$_SESSION["prefs_cache"] = array();
|
||||
|
||||
if (!SINGLE_USER_MODE) {
|
||||
|
|
Loading…
Reference in a new issue