]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix several login parameters not being passed through OTP form
authorAndrew Dolgov <noreply@fakecake.org>
Sat, 3 May 2014 18:37:08 +0000 (18:37 +0000)
committerAndrew Dolgov <noreply@fakecake.org>
Sat, 3 May 2014 18:37:08 +0000 (18:37 +0000)
plugins/auth_internal/init.php

index 32ec276a731fb6bd80f5da54749f779ae8b052fb..dc49229f623b21d2772a103816184551be50f846 100644 (file)
@@ -58,6 +58,9 @@ class Auth_Internal extends Plugin implements IAuthModule {
                                                                <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) ?>">
+                                                               <input type="hidden" name="bw_limit" value="<?php echo htmlspecialchars($_POST["bw_limit"]) ?>">
+                                                               <input type="hidden" name="remember_me" value="<?php echo htmlspecialchars($_POST["remember_me"]) ?>">
+                                                               <input type="hidden" name="profile" value="<?php echo htmlspecialchars($_POST["profile"]) ?>">
 
                                                                <label><?php echo __("Please enter your one time password:") ?></label>
                                                                <input autocomplete="off" size="6" name="otp" value=""/>