summaryrefslogtreecommitdiff
path: root/classes/auth
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-09-10 19:18:44 +0400
committerAndrew Dolgov <[email protected]>2012-09-10 19:18:44 +0400
commit2d6847495f204c6b50d378843ccff899d0fbe46c (patch)
tree4fc1ea45f9b5c09f175b61bbf8375164e36777df /classes/auth
parentd493aba2386931d8baf76e218e35a77b8c85b618 (diff)
fix OTP
Diffstat (limited to 'classes/auth')
-rw-r--r--classes/auth/internal.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/classes/auth/internal.php b/classes/auth/internal.php
index 8993116c6..37014ce47 100644
--- a/classes/auth/internal.php
+++ b/classes/auth/internal.php
@@ -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) ?>">